Skip to content

Commit 0178bc9

Browse files
committed
Deploying to gh-pages from @ 2c0785d 🚀
1 parent db0c325 commit 0178bc9

File tree

559 files changed

+4345
-4348
lines changed

Some content is hidden

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

559 files changed

+4345
-4348
lines changed

_images/hashlib-blake2-tree.png

10.8 KB
Loading

_images/logging_flow.png

21.4 KB
Loading

_images/pathlib-inheritance.png

6.28 KB
Loading

_images/tk_msg.png

14.6 KB
Loading

_images/turtle-star.png

33 KB
Loading

_images/win_installer.png

82.4 KB
Loading

_sources/copyright.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Copyright
44

55
Python and this documentation is:
66

7-
Copyright © 2001-2022 Python Software Foundation. All rights reserved.
7+
Copyright © 2001-2023 Python Software Foundation. All rights reserved.
88

99
Copyright © 2000 BeOpen.com. All rights reserved.
1010

_sources/howto/logging-cookbook.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1131,7 +1131,7 @@ each request is handled by a thread:
11311131
'context can be used to '
11321132
'populate logs')
11331133
aa = ap.add_argument
1134-
aa('--count', '-c', default=100, help='How many requests to simulate')
1134+
aa('--count', '-c', type=int, default=100, help='How many requests to simulate')
11351135
options = ap.parse_args()
11361136
11371137
# Create the dummy webapps and put them in a list which we can use to select

_sources/library/asyncio-eventloop.rst.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ an event loop:
4848
running event loop.
4949

5050
If there is no running event loop set, the function will return
51-
the result of ``get_event_loop_policy().get_event_loop()`` call.
51+
the result of the ``get_event_loop_policy().get_event_loop()`` call.
5252

5353
Because this function has rather complex behavior (especially
5454
when custom event loop policies are in use), using the
@@ -59,15 +59,15 @@ an event loop:
5959
instead of using these lower level functions to manually create and close an
6060
event loop.
6161

62-
.. deprecated:: 3.10
63-
Deprecation warning is emitted if there is no current event loop.
64-
In Python 3.12 it will be an error.
65-
6662
.. note::
6763
In Python versions 3.10.0--3.10.8 and 3.11.0 this function
68-
(and other functions which used it implicitly) emitted a
64+
(and other functions which use it implicitly) emitted a
6965
:exc:`DeprecationWarning` if there was no running event loop, even if
70-
the current loop was set.
66+
the current loop was set on the policy.
67+
In Python versions 3.10.9, 3.11.1 and 3.12 they emit a
68+
:exc:`DeprecationWarning` if there is no running event loop and no
69+
current loop is set.
70+
In some future Python release this will become an error.
7171

7272
.. function:: set_event_loop(loop)
7373

_sources/library/asyncio-policy.rst.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,11 @@ asyncio ships with the following built-in policies:
112112

113113
On Windows, :class:`ProactorEventLoop` is now used by default.
114114

115-
.. deprecated:: 3.11.1
116-
:meth:`get_event_loop` now emits a :exc:`DeprecationWarning` if there
117-
is no current event loop set and a new event loop has been implicitly
118-
created. In Python 3.12 it will be an error.
115+
.. note::
116+
In Python versions 3.10.9, 3.11.1 and 3.12 this function emits a
117+
:exc:`DeprecationWarning` if there is no running event loop and no
118+
current loop is set.
119+
In some future Python release this will become an error.
119120

120121

121122
.. class:: WindowsSelectorEventLoopPolicy

0 commit comments

Comments
 (0)