summaryrefslogtreecommitdiffstats
path: root/Doc/library/shlex.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-09-01 13:51:09 (GMT)
committerGeorg Brandl <georg@python.org>2007-09-01 13:51:09 (GMT)
commit55ac8f0f26efdbbcb5cc197f9369d23d50bee908 (patch)
treea0d5b7128c055d8c767652dc3948c3404be06396 /Doc/library/shlex.rst
parent1617457cff847fed9fadb01f1acf6ba8bb621726 (diff)
downloadcpython-55ac8f0f26efdbbcb5cc197f9369d23d50bee908.zip
cpython-55ac8f0f26efdbbcb5cc197f9369d23d50bee908.tar.gz
cpython-55ac8f0f26efdbbcb5cc197f9369d23d50bee908.tar.bz2
Get rid of the remaining versionadded/versionchanged directives.
Diffstat (limited to 'Doc/library/shlex.rst')
-rw-r--r--Doc/library/shlex.rst19
1 files changed, 0 insertions, 19 deletions
diff --git a/Doc/library/shlex.rst b/Doc/library/shlex.rst
index 0ae77c1..4c509d8 100644
--- a/Doc/library/shlex.rst
+++ b/Doc/library/shlex.rst
@@ -10,8 +10,6 @@
.. sectionauthor:: Gustavo Niemeyer <niemeyer@conectiva.com>
-.. versionadded:: 1.5.2
-
The :class:`shlex` class makes it easy to write lexical analyzers for simple
syntaxes resembling that of the Unix shell. This will often be useful for
writing minilanguages, (for example, in run control files for Python
@@ -32,11 +30,6 @@ The :mod:`shlex` module defines the following functions:
empty string). This function operates in POSIX mode by default, but uses
non-POSIX mode if the *posix* argument is false.
- .. versionadded:: 2.3
-
- .. versionchanged:: 2.6
- Added the *posix* parameter.
-
.. note::
Since the :func:`split` function instantiates a :class:`shlex` instance, passing
@@ -129,16 +122,12 @@ A :class:`shlex` instance has the following methods:
specified it will later be available for use in error messages. This is the
same method used internally by the :meth:`sourcehook` method.
- .. versionadded:: 2.1
-
.. method:: shlex.pop_source()
Pop the last-pushed input source from the input stack. This is the same method
used internally when the lexer reaches EOF on a stacked input stream.
- .. versionadded:: 2.1
-
.. method:: shlex.error_leader([file[, line]])
@@ -179,8 +168,6 @@ either control lexical analysis or can be used for debugging:
Characters that will be considered as escape. This will be only used in POSIX
mode, and includes just ``'\'`` by default.
- .. versionadded:: 2.3
-
.. attribute:: shlex.quotes
@@ -195,8 +182,6 @@ either control lexical analysis or can be used for debugging:
:attr:`escape`. This is only used in POSIX mode, and includes just ``'"'`` by
default.
- .. versionadded:: 2.3
-
.. attribute:: shlex.whitespace_split
@@ -204,8 +189,6 @@ either control lexical analysis or can be used for debugging:
example, for parsing command lines with :class:`shlex`, getting tokens in a
similar way to shell arguments.
- .. versionadded:: 2.3
-
.. attribute:: shlex.infile
@@ -252,8 +235,6 @@ either control lexical analysis or can be used for debugging:
Token used to determine end of file. This will be set to the empty string
(``''``), in non-POSIX mode, and to ``None`` in POSIX mode.
- .. versionadded:: 2.3
-
.. _shlex-parsing-rules: