Skip to content

Commit b2275c6

Browse files
committed
Deploying to gh-pages from @ 06b05d9 🚀
1 parent 28bee76 commit b2275c6

File tree

571 files changed

+5018
-4867
lines changed

Some content is hidden

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

571 files changed

+5018
-4867
lines changed

_sources/c-api/init.rst.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ Process-wide parameters
594594
interpreter will change the contents of this storage.
595595
596596
Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
597-
:c:expr:`wchar_*` string.
597+
:c:expr:`wchar_t*` string.
598598
599599
.. deprecated:: 3.11
600600
@@ -836,7 +836,7 @@ Process-wide parameters
836836
directory (``"."``).
837837
838838
Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
839-
:c:expr:`wchar_*` string.
839+
:c:expr:`wchar_t*` string.
840840
841841
See also :c:member:`PyConfig.orig_argv` and :c:member:`PyConfig.argv`
842842
members of the :ref:`Python Initialization Configuration <init-config>`.
@@ -872,7 +872,7 @@ Process-wide parameters
872872
:option:`-I`.
873873
874874
Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
875-
:c:expr:`wchar_*` string.
875+
:c:expr:`wchar_t*` string.
876876
877877
See also :c:member:`PyConfig.orig_argv` and :c:member:`PyConfig.argv`
878878
members of the :ref:`Python Initialization Configuration <init-config>`.
@@ -898,7 +898,7 @@ Process-wide parameters
898898
this storage.
899899
900900
Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
901-
:c:expr:`wchar_*` string.
901+
:c:expr:`wchar_t*` string.
902902
903903
.. deprecated:: 3.11
904904

_sources/c-api/typeobj.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1829,7 +1829,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
18291829
dictionary, so it is may be more efficient to call :c:func:`PyObject_GetAttr`
18301830
when accessing an attribute on the object.
18311831

1832-
It is an error to set both the :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` bit and
1832+
It is an error to set both the :c:macro:`Py_TPFLAGS_MANAGED_DICT` bit and
18331833
:c:member:`~PyTypeObject.tp_dictoffset`.
18341834

18351835
**Inheritance:**

_sources/c-api/unicode.rst.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1352,6 +1352,13 @@ the user settings on the machine running the codec.
13521352
in *consumed*.
13531353
13541354
1355+
.. c:function:: PyObject* PyUnicode_DecodeCodePageStateful(int code_page, const char *str, \
1356+
Py_ssize_t size, const char *errors, Py_ssize_t *consumed)
1357+
1358+
Similar to :c:func:`PyUnicode_DecodeMBCSStateful`, except uses the code page
1359+
specified by *code_page*.
1360+
1361+
13551362
.. c:function:: PyObject* PyUnicode_AsMBCSString(PyObject *unicode)
13561363
13571364
Encode a Unicode object using MBCS and return the result as Python bytes

_sources/deprecations/pending-removal-in-3.15.rst.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ Pending Removal in Python 3.15
2929
* The :option:`!--cgi` flag to the :program:`python -m http.server`
3030
command-line interface has been deprecated since Python 3.13.
3131

32+
* :mod:`importlib`:
33+
34+
* ``load_module()`` method: use ``exec_module()`` instead.
35+
3236
* :class:`locale`:
3337

3438
* The :func:`~locale.getdefaultlocale` function

_sources/deprecations/pending-removal-in-future.rst.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ although there is currently no date scheduled for their removal.
5757

5858
* :mod:`importlib`:
5959

60-
* ``load_module()`` method: use ``exec_module()`` instead.
6160
* :func:`~importlib.util.cache_from_source` *debug_override* parameter is
6261
deprecated: use the *optimization* parameter instead.
6362

_sources/glossary.rst.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -926,11 +926,16 @@ Glossary
926926
modules, respectively.
927927

928928
namespace package
929-
A :pep:`420` :term:`package` which serves only as a container for
930-
subpackages. Namespace packages may have no physical representation,
929+
A :term:`package` which serves only as a container for subpackages.
930+
Namespace packages may have no physical representation,
931931
and specifically are not like a :term:`regular package` because they
932932
have no ``__init__.py`` file.
933933

934+
Namespace packages allow several individually installable packages to have a common parent package.
935+
Otherwise, it is recommended to use a :term:`regular package`.
936+
937+
For more information, see :pep:`420` and :ref:`reference-namespace-package`.
938+
934939
See also :term:`module`.
935940

936941
nested scope

_sources/library/asyncio-eventloop.rst.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,9 +382,9 @@ Creating Futures and Tasks
382382

383383
If *factory* is ``None`` the default task factory will be set.
384384
Otherwise, *factory* must be a *callable* with the signature matching
385-
``(loop, coro, context=None)``, where *loop* is a reference to the active
385+
``(loop, coro, **kwargs)``, where *loop* is a reference to the active
386386
event loop, and *coro* is a coroutine object. The callable
387-
must return a :class:`asyncio.Future`-compatible object.
387+
must pass on all *kwargs*, and return a :class:`asyncio.Task`-compatible object.
388388

389389
.. method:: loop.get_task_factory()
390390

_sources/library/dbm.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ The :mod:`!dbm.dumb` module defines the following:
455455
.. method:: dumbdbm.sync()
456456

457457
Synchronize the on-disk directory and data files. This method is called
458-
by the :meth:`Shelve.sync` method.
458+
by the :meth:`shelve.Shelf.sync` method.
459459

460460
.. method:: dumbdbm.close()
461461

_sources/library/idle.rst.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _idle:
22

3-
IDLE
4-
====
3+
IDLE --- Python editor and shell
4+
================================
55

66
.. moduleauthor:: Guido van Rossum <[email protected]>
77

@@ -12,6 +12,9 @@ IDLE
1212
single: Python Editor
1313
single: Integrated Development Environment
1414

15+
..
16+
Remember to update Lib/idlelib/help.html with idlelib.help.copy_source() when modifying this file.
17+
1518
--------------
1619

1720
IDLE is Python's Integrated Development and Learning Environment.
@@ -971,8 +974,8 @@ information. The only current default extension is zzdummy, an example
971974
also used for testing.
972975

973976

974-
idlelib
975-
-------
977+
idlelib --- implementation of IDLE application
978+
----------------------------------------------
976979

977980
.. module:: idlelib
978981
:synopsis: Implementation package for the IDLE shell/editor.

_sources/library/importlib.rst.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ ABC hierarchy::
370370
:exc:`NotImplementedError`. Functionality provided when
371371
:meth:`exec_module` is available.
372372

373-
.. deprecated:: 3.4
373+
.. deprecated-removed:: 3.4 3.15
374374
The recommended API for loading a module is :meth:`exec_module`
375375
(and :meth:`create_module`). Loaders should implement it instead of
376376
:meth:`load_module`. The import machinery takes care of all the
@@ -474,7 +474,7 @@ ABC hierarchy::
474474

475475
Implementation of :meth:`Loader.load_module`.
476476

477-
.. deprecated:: 3.4
477+
.. deprecated-removed:: 3.4 3.15
478478
use :meth:`exec_module` instead.
479479

480480

@@ -521,7 +521,7 @@ ABC hierarchy::
521521

522522
Calls super's ``load_module()``.
523523

524-
.. deprecated:: 3.4
524+
.. deprecated-removed:: 3.4 3.15
525525
Use :meth:`Loader.exec_module` instead.
526526

527527
.. abstractmethod:: get_filename(fullname)
@@ -610,7 +610,7 @@ ABC hierarchy::
610610

611611
Concrete implementation of :meth:`Loader.load_module`.
612612

613-
.. deprecated:: 3.4
613+
.. deprecated-removed:: 3.4 3.15
614614
Use :meth:`exec_module` instead.
615615

616616
.. method:: get_source(fullname)
@@ -1020,7 +1020,7 @@ find and load modules.
10201020
Concrete implementation of :meth:`importlib.abc.Loader.load_module` where
10211021
specifying the name of the module to load is optional.
10221022

1023-
.. deprecated:: 3.6
1023+
.. deprecated-removed:: 3.6 3.15
10241024

10251025
Use :meth:`importlib.abc.Loader.exec_module` instead.
10261026

@@ -1063,7 +1063,7 @@ find and load modules.
10631063
Concrete implementation of :meth:`importlib.abc.Loader.load_module` where
10641064
specifying the name of the module to load is optional.
10651065

1066-
.. deprecated:: 3.6
1066+
.. deprecated-removed:: 3.6 3.15
10671067

10681068
Use :meth:`importlib.abc.Loader.exec_module` instead.
10691069

0 commit comments

Comments
 (0)