8000 [3.12] shlex docs: remove outdated note (GH-106463) (#106466) · python/cpython@a49a29f · GitHub
[go: up one dir, main page]

Skip to content

Commit a49a29f

Browse files
[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 c16ea94) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
1 parent b72601e commit a49a29f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Doc/library/shlex.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ The :mod:`shlex` module defines the following functions:
3030
in POSIX mode by default, but uses non-POSIX mode if the *posix* argument is
3131
false.
3232

33-
.. note::
34-
35-
Since the :func:`split` function instantiates a :class:`~shlex.shlex`
36-
instance, passing ``None`` for *s* will read the string to split from
37-
standard input.
38-
3933
.. versionchanged:: 3.12
4034
Passing ``None`` for *s* argument now raises an exception, rather than
4135
reading :data:`sys.stdin`.

0 commit comments

Comments
 (0)
0