https://github.com/python/cpython/commit/9a1c70c639f2ac60ae3756bec20c2584303f748e
commit: 9a1c70c639f2ac60ae3756bec20c2584303f748e
branch: main
author: ByteFlow <[email protected]>
committer: brettcannon <[email protected]>
date: 2026-04-20T12:22:37-07:00
summary:

Fix typos in asyncio, ctypes, and importlib documentation (#148747)

files:
M Doc/library/asyncio-dev.rst
M Doc/library/ctypes.rst
M Doc/library/importlib.rst

diff --git a/Doc/library/asyncio-dev.rst b/Doc/library/asyncio-dev.rst
index f3409bcd2df648..713b40d746680a 100644
--- a/Doc/library/asyncio-dev.rst
+++ b/Doc/library/asyncio-dev.rst
@@ -304,7 +304,7 @@ generator can occur in an unexpected order::
       try:
           yield 2
       finally:
-          await asyncio.sleep(0.1) # immitate some async work
+          await asyncio.sleep(0.1) # imitate some async work
           work_done = True
 
 
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
index e71d1d06d49b96..b8d615565a590c 100644
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -1735,7 +1735,7 @@ If wrapping a shared library with :mod:`!ctypes`, 
consider determining the
 shared library name at development time, and hardcoding it into the wrapper
 module instead of using :func:`!find_library` to locate the library
 at runtime.
-Also consider addding a configuration option or environment variable to let
+Also consider adding a configuration option or environment variable to let
 users select a library to use, and then perhaps use :func:`!find_library`
 as a default or fallback.
 
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index 785f6c614b4391..0b76020eacc1da 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -286,7 +286,7 @@ ABC hierarchy::
          This method can potentially yield a very large number of objects, and
          it may carry out IO operations when computing these values.
 
-         Because of this, it will generaly be desirable to compute the result
+         Because of this, it will generally be desirable to compute the result
          values on-the-fly, as they are needed. As such, the returned object is
          only guaranteed to be an :class:`iterable <collections.abc.Iterable>`,
          instead of a :class:`list` or other
@@ -340,7 +340,7 @@ ABC hierarchy::
          This method can potentially yield a very large number of objects, and
          it may carry out IO operations when computing these values.
 
-         Because of this, it will generaly be desirable to compute the result
+         Because of this, it will generally be desirable to compute the result
          values on-the-fly, as they are needed. As such, the returned object is
          only guaranteed to be an :class:`iterable <collections.abc.Iterable>`,
          instead of a :class:`list` or other

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to