Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit490aa9d

Browse files
committed
Deploying to gh-pages from @b672c19 🚀
1 parentd654eae commit490aa9d

File tree

580 files changed

+1416
-1358
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

580 files changed

+1416
-1358
lines changed

‎_sources/extending/extending.rst.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ A pointer to the module definition must be returned via :c:func:`PyModuleDef_Ini
426426
so that the import machinery can create the module and store it in ``sys.modules``.
427427

428428
When embedding Python, the:c:func:`!PyInit_spam` function is not called
429-
automatically unless there's an entry in the:c:data:`PyImport_Inittab` table.
429+
automatically unless there's an entry in the:c:data:`!PyImport_Inittab` table.
430430
To add the module to the initialization table, use:c:func:`PyImport_AppendInittab`,
431431
optionally followed by an import of the module::
432432

‎_sources/howto/instrumentation.rst.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,8 @@ should instead read:
269269
(assuming a:ref:`debug build<debug-build>` of CPython 3.6)
270270

271271

272+
.. _static-markers:
273+
272274
Available static markers
273275
------------------------
274276

‎_sources/library/collections.abc.rst.txt‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,17 @@ Collections Abstract Base Classes -- Detailed Descriptions
276276
linked list), the mixins will have quadratic performance and will
277277
likely need to be overridden.
278278

279-
..versionchanged::3.5
280-
The index() method added support for *stop* and *start*
281-
arguments.
279+
..method::index(value, start=0, stop=None)
280+
281+
Return first index of *value*.
282+
283+
Raises:exc:`ValueError` if the value is not present.
284+
285+
Supporting the *start* and *stop* arguments is optional, but recommended.
286+
287+
..versionchanged::3.5
288+
The:meth:`!index` method added support for *stop* and *start*
289+
arguments.
282290

283291
..deprecated-removed::3.12 3.14
284292
The:class:`ByteString` ABC has been deprecated.

‎_sources/library/curses.rst.txt‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -703,8 +703,10 @@ The module :mod:`curses` defines the following functions:
703703
Window Objects
704704
--------------
705705

706-
Window objects, as returned by:func:`initscr` and:func:`newwin` above, have
707-
the following methods and attributes:
706+
..class::window
707+
708+
Window objects, as returned by:func:`initscr` and:func:`newwin` above, have
709+
the following methods and attributes:
708710

709711

710712
..method::window.addch(ch[, attr])

‎_sources/library/dis.rst.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ operation is being performed, so the intermediate analysis object isn't useful:
270270
Added the *show_caches* and *adaptive* parameters.
271271

272272

273-
..function::distb(tb=None, *, file=None, show_caches=False, adaptive=False,
273+
..function::distb(tb=None, *, file=None, show_caches=False, adaptive=False, \
274274
show_offset=False)
275275

276276
Disassemble the top-of-stack function of a traceback, using the last

‎_sources/library/hmac.rst.txt‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ cannot be used with HMAC.
5050
..versionadded::3.7
5151

5252

53-
An HMAC object has the following methods:
53+
..class::HMAC
54+
55+
An HMAC object has the following methods:
5456

5557
..method::HMAC.update(msg)
5658

‎_sources/library/os.rst.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3687,9 +3687,9 @@ features:
36873687

36883688
import os
36893689
for root, dirs, files, rootfd in os.fwalk('python/Lib/xml'):
3690-
print(root, "consumes", end="")
3690+
print(root, "consumes", end="")
36913691
print(sum([os.stat(name, dir_fd=rootfd).st_size for name in files]),
3692-
end="")
3692+
end="")
36933693
print("bytes in", len(files), "non-directory files")
36943694
if '__pycache__' in dirs:
36953695
dirs.remove('__pycache__') # don't visit __pycache__ directories

‎_sources/library/shutil.rst.txt‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ Directory and files operations
8383
copy the file more efficiently. See
8484
:ref:`shutil-platform-dependent-efficient-copy-operations` section.
8585

86+
..exception::SpecialFileError
87+
88+
This exception is raised when:func:`copyfile` or:func:`copytree` attempt
89+
to copy a named pipe.
90+
91+
..versionadded::2.7
92+
8693
..exception::SameFileError
8794

8895
This exception is raised if source and destination in:func:`copyfile`

‎_sources/library/unittest.rst.txt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2469,6 +2469,10 @@ instead of as an error.
24692469
setUpModule and tearDownModule
24702470
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24712471

2472+
..function::setUpModule
2473+
tearDownModule
2474+
:no-typesetting:
2475+
24722476
These should be implemented as functions::
24732477

24742478
def setUpModule():

‎_sources/library/venv.rst.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ It also creates a :file:`bin` (or :file:`Scripts` on Windows) subdirectory
7575
containing a copy or symlink of the Python executable
7676
(as appropriate for the platform or arguments used at environment creation time).
7777
It also creates a:file:`lib/pythonX.Y/site-packages` subdirectory
78-
(on Windows, this is:file:`Lib\site-packages`).
78+
(on Windows, this is:file:`Lib\\site-packages`).
7979
If an existing directory is specified, it will be re-used.
8080

8181
..versionchanged::3.5

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp