[Python-checkins] [3.12] shlex docs: remove outdated note (GH-106463) (#106466)
JelleZijlstra
webhook-mailer at python.org
Wed Jul 5 16:57:52 EDT 2023
https://github.com/python/cpython/commit/a49a29f22bcc39376e760823ec512df831d2e828
commit: a49a29f22bcc39376e760823ec512df831d2e828
branch: 3.12
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: JelleZijlstra <jelle.zijlstra at gmail.com>
date: 2023-07-05T13:57:49-07:00
summary:
[3.12] shlex docs: remove outdated note (GH-106463) (#106466)
shlex docs: remove outdated note (GH-106463)
As the versionchanged notice says, this note is no longer true on 3.12+.
(cherry picked from commit c16ea94abc73c0098b484f7e2ec23bfd9c36b67c)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra at gmail.com>
files:
M Doc/library/shlex.rst
diff --git a/Doc/library/shlex.rst b/Doc/library/shlex.rst
index 0bad51833aae1..f94833ad5331a 100644
--- a/Doc/library/shlex.rst
+++ b/Doc/library/shlex.rst
@@ -30,12 +30,6 @@ The :mod:`shlex` module defines the following functions:
in POSIX mode by default, but uses non-POSIX mode if the *posix* argument is
false.
- .. note::
-
- Since the :func:`split` function instantiates a :class:`~shlex.shlex`
- instance, passing ``None`` for *s* will read the string to split from
- standard input.
-
.. versionchanged:: 3.12
Passing ``None`` for *s* argument now raises an exception, rather than
reading :data:`sys.stdin`.
More information about the Python-checkins
mailing list