diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-07-05 20:57:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-05 20:57:49 (GMT) |
commit | a49a29f22bcc39376e760823ec512df831d2e828 (patch) | |
tree | 551130a0da8c44701323348fb90c0ca801b21547 /Doc/library | |
parent | b72601e7e5a8e3286b1345ac14fa21ac2d3056dc (diff) | |
download | cpython-a49a29f22bcc39376e760823ec512df831d2e828.zip cpython-a49a29f22bcc39376e760823ec512df831d2e828.tar.gz cpython-a49a29f22bcc39376e760823ec512df831d2e828.tar.bz2 |
[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@gmail.com>
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/shlex.rst | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Doc/library/shlex.rst b/Doc/library/shlex.rst index 0bad518..f94833a 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`. |