summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorIvan Savov <ivan.savov@gmail.com>2022-11-26 22:24:04 (GMT)
committerGitHub <noreply@github.com>2022-11-26 22:24:04 (GMT)
commit25bc115df9d0e82309852609a83b5ab7f804cdc1 (patch)
tree6c4232713449b9f3aeccc141d975531a03f4551a /Misc
parent7f005749b27c7b9108ea24e5c0ff25068910b75c (diff)
downloadcpython-25bc115df9d0e82309852609a83b5ab7f804cdc1.zip
cpython-25bc115df9d0e82309852609a83b5ab7f804cdc1.tar.gz
cpython-25bc115df9d0e82309852609a83b5ab7f804cdc1.tar.bz2
gh-89682: [doc] reword docstring of __contains__ to clarify that it returns a bool (GH-29043)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Documentation/2022-11-26-21-43-05.gh-issue-89682.DhKoTM.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2022-11-26-21-43-05.gh-issue-89682.DhKoTM.rst b/Misc/NEWS.d/next/Documentation/2022-11-26-21-43-05.gh-issue-89682.DhKoTM.rst
new file mode 100644
index 0000000..46be065
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2022-11-26-21-43-05.gh-issue-89682.DhKoTM.rst
@@ -0,0 +1 @@
+Reworded docstring of the default ``__contains__`` to clarify that it returns a :class:`bool`.