Skip to content

Commit b92e879

Browse files
committed
Merge branch 'macro-ops' into macro-cache-effects
2 parents 7c2fb2f + cb62653 commit b92e879

25 files changed

+172
-145
lines changed

Doc/c-api/init_config.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ PyPreConfig
254254
255255
.. c:member:: int configure_locale
256256
257-
Set the LC_CTYPE locale to the user preferred locale?
257+
Set the LC_CTYPE locale to the user preferred locale.
258258
259259
If equals to ``0``, set :c:member:`~PyPreConfig.coerce_c_locale` and
260260
:c:member:`~PyPreConfig.coerce_c_locale_warn` members to ``0``.

Doc/library/asyncio-task.rst

+8
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ and Tasks.
1818
Coroutines
1919
==========
2020

21+
**Source code:** :source:`Lib/asyncio/coroutines.py`
22+
23+
----------------------------------------------------
24+
2125
:term:`Coroutines <coroutine>` declared with the async/await syntax is the
2226
preferred way of writing asyncio applications. For example, the following
2327
snippet of code prints "hello", waits 1 second,
@@ -230,6 +234,10 @@ is :meth:`loop.run_in_executor`.
230234
Creating Tasks
231235
==============
232236

237+
**Source code:** :source:`Lib/asyncio/tasks.py`
238+
239+
-----------------------------------------------
240+
233241
.. function:: create_task(coro, *, name=None, context=None)
234242

235243
Wrap the *coro* :ref:`coroutine <coroutine>` into a :class:`Task`

Doc/library/ctypes.rst

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
.. moduleauthor:: Thomas Heller <theller@python.net>
88

9+
**Source code:** :source:`Lib/ctypes`
10+
911
--------------
1012

1113
:mod:`ctypes` is a foreign function library for Python. It provides C compatible

Doc/library/curses.ascii.rst

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
.. moduleauthor:: Eric S. Raymond <esr@thyrsus.com>
88
.. sectionauthor:: Eric S. Raymond <esr@thyrsus.com>
99

10+
**Source code:** :source:`Lib/curses/ascii.py`
11+
1012
--------------
1113

1214
The :mod:`curses.ascii` module supplies name constants for ASCII characters and

Doc/library/curses.rst

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
1010
.. sectionauthor:: Eric Raymond <esr@thyrsus.com>
1111

12+
**Source code:** :source:`Lib/curses`
13+
1214
--------------
1315

1416
The :mod:`curses` module provides an interface to the curses library, the

Doc/library/ensurepip.rst

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
.. versionadded:: 3.4
99

10+
**Source code:** :source:`Lib/ensurepip`
11+
1012
--------------
1113

1214
The :mod:`ensurepip` package provides support for bootstrapping the ``pip``

Doc/library/exceptions.rst

+4
Original file line numberDiff line numberDiff line change
@@ -965,6 +965,10 @@ their subgroups based on the types of the contained exceptions.
965965
def derive(self, excs):
966966
return Errors(excs, self.exit_code)
967967

968+
Like :exc:`ExceptionGroup`, any subclass of :exc:`BaseExceptionGroup` which
969+
is also a subclass of :exc:`Exception` can only wrap instances of
970+
:exc:`Exception`.
971+
968972
.. versionadded:: 3.11
969973

970974

0 commit comments

Comments
 (0)