Skip to content

Commit 3679083

Browse files
miss-islingtonkoyuki7wskirpichevhugovk
authored
[3.13] gh-101100: Docs: Fix some typos in the document (GH-129988) (#129997)
Co-authored-by: Yuki Kobayashi <[email protected]> Co-authored-by: Sergey B Kirpichev <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent e5c522e commit 3679083

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

Doc/c-api/init.rst

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

Doc/library/dbm.rst

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

Doc/library/plistlib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ This module defines the following functions:
9999

100100
.. function:: dump(value, fp, *, fmt=FMT_XML, sort_keys=True, skipkeys=False, aware_datetime=False)
101101

102-
Write *value* to a plist file. *Fp* should be a writable, binary
102+
Write *value* to a plist file. *fp* should be a writable, binary
103103
file object.
104104

105105
The *fmt* argument specifies the format of the plist file and can be

Doc/library/smtplib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ An :class:`SMTP` instance has the following methods:
524524
:mailheader:`Bcc` or :mailheader:`Resent-Bcc` headers that may appear
525525
in *msg*. If any of the addresses in *from_addr* and *to_addrs* contain
526526
non-ASCII characters and the server does not advertise ``SMTPUTF8`` support,
527-
an :exc:`SMTPNotSupported` error is raised. Otherwise the ``Message`` is
527+
an :exc:`SMTPNotSupportedError` is raised. Otherwise the ``Message`` is
528528
serialized with a clone of its :mod:`~email.policy` with the
529529
:attr:`~email.policy.EmailPolicy.utf8` attribute set to ``True``, and
530530
``SMTPUTF8`` and ``BODY=8BITMIME`` are added to *mail_options*.

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ Doc/library/asyncio-extending.rst
1717
Doc/library/asyncio-policy.rst
1818
Doc/library/asyncio-subprocess.rst
1919
Doc/library/collections.rst
20-
Doc/library/dbm.rst
2120
Doc/library/decimal.rst
2221
Doc/library/email.charset.rst
2322
Doc/library/email.compat32-message.rst

0 commit comments

Comments
 (0)