Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f8754a6

Browse files
committed
Update versionadded/changed.
1 parent 7563494 commit f8754a6

9 files changed

Lines changed: 19 additions & 24 deletions

File tree

Doc/library/argparse.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.. module:: argparse
55
:synopsis: Command-line option and argument parsing library.
66
.. moduleauthor:: Steven Bethard <[email protected]>
7-
.. versionadded:: 2.7
7+
.. versionadded:: 3.2
88
.. sectionauthor:: Steven Bethard <[email protected]>
99

1010

Doc/library/shutil.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Archives operations
236236
*owner* and *group* are used when creating a tar archive. By default,
237237
uses the current owner and group.
238238

239-
.. versionadded:: 2.7
239+
.. versionadded:: 3.2
240240

241241

242242
.. function:: get_archive_formats()
@@ -255,7 +255,7 @@ Archives operations
255255
You can register new formats or provide your own archiver for any existing
256256
formats, by using :func:`register_archive_format`.
257257

258-
.. versionadded:: 2.7
258+
.. versionadded:: 3.2
259259

260260

261261
.. function:: register_archive_format(name, function, [extra_args, [description]])
@@ -269,14 +269,14 @@ Archives operations
269269
*description* is used by :func:`get_archive_formats` which returns the
270270
list of archivers. Defaults to an empty list.
271271

272-
.. versionadded:: 2.7
272+
.. versionadded:: 3.2
273273

274274

275275
.. function:: unregister_archive_format(name)
276276

277277
Remove the archive format *name* from the list of supported formats.
278278

279-
.. versionadded:: 2.7
279+
.. versionadded:: 3.2
280280

281281

282282
Archiving example

Doc/library/sqlite3.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ Connection Objects
367367

368368
.. method:: Connection.enable_load_extension(enabled)
369369

370-
.. versionadded:: 2.7
370+
.. versionadded:: 3.2
371371

372372
This routine allows/disallows the SQLite engine to load SQLite extensions
373373
from shared libraries. SQLite extensions can define new functions,
@@ -378,7 +378,7 @@ Connection Objects
378378

379379
.. method:: Connection.load_extension(path)
380380

381-
.. versionadded:: 2.7
381+
.. versionadded:: 3.2
382382

383383
This routine loads a SQLite extension from a shared library. You have to
384384
enable extension loading with ``enable_load_extension`` before you can use

Doc/library/sysconfig.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
:synopsis: Python's configuration information
66
.. moduleauthor:: Tarek Ziade <[email protected]>
77
.. sectionauthor:: Tarek Ziade <[email protected]>
8-
.. versionadded:: 2.7
8+
.. versionadded:: 3.2
99
.. index::
1010
single: configuration information
1111

Doc/library/test.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ The :mod:`test.support` module defines the following functions:
324324
w.reset()
325325
assert len(w.warnings) == 0
326326

327-
.. versionchanged:: 2.7
327+
.. versionchanged:: 3.2
328328
New optional attributes ``*filters`` and ``quiet``.
329329

330330

Doc/library/threading.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -647,9 +647,6 @@ An event object manages an internal flag that can be set to true with the
647647

648648
Return true if and only if the internal flag is true.
649649

650-
.. versionchanged:: 2.6
651-
The ``is_set()`` syntax is new.
652-
653650
.. method:: set()
654651

655652
Set the internal flag to true. All threads waiting for it to become true

Doc/library/xml.etree.elementtree.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ See http://effbot.org/zone/element-index.htm for tutorials and links to other
3535
docs. Fredrik Lundh's page is also the location of the development version of
3636
the xml.etree.ElementTree.
3737

38-
.. versionchanged:: 2.7
38+
.. versionchanged:: 3.2
3939
The ElementTree API is updated to 1.3. For more information, see
4040
`Introducing ElementTree 1.3
4141
<http://effbot.org/zone/elementtree-13-intro.htm>`_.
@@ -80,7 +80,7 @@ Functions
8080
optional parser instance. If not given, the standard :class:`XMLParser`
8181
parser is used. Returns an :class:`Element` instance.
8282

83-
.. versionadded:: 2.7
83+
.. versionadded:: 3.2
8484

8585

8686
.. function:: iselement(element)
@@ -133,7 +133,7 @@ Functions
133133
attributes in this namespace will be serialized with the given prefix, if at
134134
all possible.
135135

136-
.. versionadded:: 2.7
136+
.. versionadded:: 3.2
137137

138138

139139
.. function:: SubElement(parent, tag, attrib={}, **extra)
@@ -167,7 +167,7 @@ Functions
167167
any specific sequence, except that ``"".join(tostringlist(element)) ==
168168
tostring(element)``.
169169

170-
.. versionadded:: 2.7
170+
.. versionadded:: 3.2
171171

172172

173173
.. function:: XML(text, parser=None)
@@ -282,7 +282,7 @@ Element Objects
282282
Appends *subelements* from a sequence object with zero or more elements.
283283
Raises :exc:`AssertionError` if a subelement is not a valid object.
284284

285-
.. versionadded:: 2.7
285+
.. versionadded:: 3.2
286286

287287

288288
.. method:: find(match)
@@ -336,15 +336,15 @@ Element Objects
336336
Finds all matching subelements, by tag name or path. Returns an iterable
337337
yielding all matching elements in document order.
338338

339-
.. versionadded:: 2.7
339+
.. versionadded:: 3.2
340340

341341

342342
.. method:: itertext()
343343

344344
Creates a text iterator. The iterator loops over this element and all
345345
subelements, in document order, and returns all inner text.
346346

347-
.. versionadded:: 2.7
347+
.. versionadded:: 3.2
348348

349349

350350
.. method:: makeelement(tag, attrib)
@@ -446,7 +446,7 @@ ElementTree Objects
446446
getroot().iterfind(match). Returns an iterable yielding all matching
447447
elements in document order.
448448

449-
.. versionadded:: 2.7
449+
.. versionadded:: 3.2
450450

451451

452452
.. method:: parse(source, parser=None)
@@ -559,7 +559,7 @@ TreeBuilder Objects
559559
the public identifier. *system* is the system identifier. This method
560560
does not exist on the default :class:`TreeBuilder` class.
561561

562-
.. versionadded:: 2.7
562+
.. versionadded:: 3.2
563563

564564

565565
.. _elementtree-xmlparser-objects:

Doc/library/zipfile.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ ZipFile Objects
288288
member of the given :class:`ZipInfo` instance. By default, the
289289
:class:`ZipInfo` constructor sets this member to :const:`ZIP_STORED`.
290290

291-
.. versionchanged:: 2.7
291+
.. versionchanged:: 3.2
292292
The *compression_type* argument.
293293

294294
The following data attributes are also available:

Doc/reference/expressions.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,8 +1152,6 @@ not bother to return a value of the same type as its argument, so e.g., ``not
11521152
Conditional Expressions
11531153
=======================
11541154

1155-
.. versionadded:: 2.5
1156-
11571155
.. index::
11581156
pair: conditional; expression
11591157
pair: ternary; operator

0 commit comments

Comments
 (0)