Skip to content

Commit 68a5549

Browse files
committed
Update documented versions to 3.16 and add pending removal entry
1 parent fc81021 commit 68a5549

4 files changed

Lines changed: 20 additions & 14 deletions

File tree

Doc/deprecations/pending-removal-in-3.18.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ Pending removal in Python 3.18
1111
C implementation, has been deprecated since Python 3.13.
1212
(Contributed by Serhiy Storchaka in :gh:`89902`.)
1313

14+
* :mod:`winreg`:
15+
16+
* The *reserved* parameter of :func:`winreg.OpenKey` and
17+
:func:`winreg.OpenKeyEx` has been deprecated since Python 3.16.
18+
Use the *options* parameter of :func:`~winreg.OpenKeyEx` instead.
19+
(Contributed by An Long in :gh:`95461`.)
20+
1421
* Deprecations defined by :pep:`829`:
1522

1623
* ``import`` lines in :file:`{name}.pth` files are silently ignored.

Doc/library/winreg.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ This module offers the following functions:
126126
.. versionchanged:: 3.3
127127
See :ref:`above <exception-changed>`.
128128

129-
.. versionchanged:: 3.15
129+
.. versionchanged:: 3.16
130130
Added *options* and *exist_ok* parameters.
131131

132132

@@ -361,7 +361,7 @@ This module offers the following functions:
361361
.. versionchanged:: 3.3
362362
See :ref:`above <exception-changed>`.
363363

364-
.. deprecated-removed:: 3.15 3.17
364+
.. deprecated-removed:: 3.16 3.18
365365
*reserved* is deprecated and will be removed in the future.
366366
Please use :func:`OpenKeyEx` instead.
367367

@@ -402,10 +402,10 @@ This module offers the following functions:
402402
.. versionchanged:: 3.3
403403
See :ref:`above <exception-changed>`.
404404

405-
.. versionchanged:: 3.15
405+
.. versionchanged:: 3.16
406406
Added *options* parameter.
407407

408-
.. deprecated-removed:: 3.15 3.17
408+
.. deprecated-removed:: 3.16 3.18
409409
*reserved* is deprecated and will be removed in the future.
410410
Please use *options* instead.
411411

Doc/whatsnew/3.15.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1867,16 +1867,6 @@ webbrowser
18671867
(Contributed by Jeff Lyon in :gh:`137586`.)
18681868

18691869

1870-
winreg
1871-
------
1872-
1873-
* Add *options* and *exist_ok* parameters to :func:`winreg.CreateKeyEx`.
1874-
(Contributed by AN Long in :gh:`129903`.)
1875-
1876-
* Add *options* parameter to :func:`winreg.OpenKeyEx`.
1877-
(Contributed by AN Long in :gh:`129903`.)
1878-
1879-
18801870
xml
18811871
---
18821872

Doc/whatsnew/3.16.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,15 @@ tkinter
589589
with no unit suffix to :class:`int` or :class:`float`.
590590
(Contributed by Serhiy Storchaka in :gh:`153513`.)
591591

592+
winreg
593+
------
594+
595+
* Add *options* and *exist_ok* parameters to :func:`winreg.CreateKeyEx`.
596+
(Contributed by An Long in :gh:`129903`.)
597+
598+
* Add *options* parameter to :func:`winreg.OpenKeyEx`.
599+
(Contributed by An Long in :gh:`129903`.)
600+
592601
xml
593602
---
594603

0 commit comments

Comments
 (0)