diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-10-19 15:33:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-19 15:33:03 (GMT) |
commit | cdcab408a017fd8059921ffa0b4ee85be16e1e87 (patch) | |
tree | 3581be955b3ea2db1bde4bae360f4779d9252983 /Doc/library/email.compat32-message.rst | |
parent | 68a5640a362be4f787f3da0e76cd174f7a458a4b (diff) | |
download | cpython-cdcab408a017fd8059921ffa0b4ee85be16e1e87.zip cpython-cdcab408a017fd8059921ffa0b4ee85be16e1e87.tar.gz cpython-cdcab408a017fd8059921ffa0b4ee85be16e1e87.tar.bz2 |
[3.12] GH-101100: Fix reference warnings for ``__getitem__`` (GH-110118) (#111073)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Diffstat (limited to 'Doc/library/email.compat32-message.rst')
-rw-r--r-- | Doc/library/email.compat32-message.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/email.compat32-message.rst b/Doc/library/email.compat32-message.rst index 5bef155..c4c322a 100644 --- a/Doc/library/email.compat32-message.rst +++ b/Doc/library/email.compat32-message.rst @@ -367,7 +367,7 @@ Here are the methods of the :class:`Message` class: .. method:: get(name, failobj=None) Return the value of the named header field. This is identical to - :meth:`__getitem__` except that optional *failobj* is returned if the + :meth:`~object.__getitem__` except that optional *failobj* is returned if the named header is missing (defaults to ``None``). Here are some additional useful methods: |