https://github.com/python/cpython/commit/62945692595ab05d362d3b724ea1d99e235da325
commit: 62945692595ab05d362d3b724ea1d99e235da325
branch: 3.13
author: Stan Ulbrych <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2026-02-19T12:13:53Z
summary:
[3.13] Remove unused :platform: in module's docs (GH-144988) (GH-144998)
It has not been outputted since Sphinx 1.1.
(cherry picked from commit 20caf1c08440684b618d2166022ae82b2db3b696)
files:
M Doc/library/curses.rst
M Doc/library/dbm.rst
M Doc/library/dialog.rst
M Doc/library/fcntl.rst
M Doc/library/grp.rst
M Doc/library/msvcrt.rst
M Doc/library/posix.rst
M Doc/library/pty.rst
M Doc/library/pwd.rst
M Doc/library/readline.rst
M Doc/library/resource.rst
M Doc/library/syslog.rst
M Doc/library/termios.rst
M Doc/library/tkinter.colorchooser.rst
M Doc/library/tkinter.dnd.rst
M Doc/library/tkinter.font.rst
M Doc/library/tkinter.messagebox.rst
M Doc/library/tkinter.scrolledtext.rst
M Doc/library/tty.rst
M Doc/library/winreg.rst
M Doc/library/winsound.rst
diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst
index 35fa4c415f3c4b..a81534e1dfdc54 100644
--- a/Doc/library/curses.rst
+++ b/Doc/library/curses.rst
@@ -4,7 +4,6 @@
.. module:: curses
:synopsis: An interface to the curses library, providing portable
terminal handling.
- :platform: Unix
.. sectionauthor:: Moshe Zadka <[email protected]>
.. sectionauthor:: Eric Raymond <[email protected]>
@@ -23,6 +22,8 @@ Linux and the BSD variants of Unix.
.. include:: ../includes/wasm-mobile-notavail.rst
+.. availability:: Unix.
+
.. note::
Whenever the documentation mentions a *character* it can be specified
diff --git a/Doc/library/dbm.rst b/Doc/library/dbm.rst
index 628232cb631bd4..ddfe73a86b77f6 100644
--- a/Doc/library/dbm.rst
+++ b/Doc/library/dbm.rst
@@ -155,7 +155,6 @@ The individual submodules are described in the following
sections.
---------------------------------------------
.. module:: dbm.sqlite3
- :platform: All
:synopsis: SQLite backend for dbm
.. versionadded:: 3.13
@@ -206,7 +205,6 @@ or any other SQLite browser, including the SQLite CLI.
---------------------------------------
.. module:: dbm.gnu
- :platform: Unix
:synopsis: GNU database manager
**Source code:** :source:`Lib/dbm/gnu.py`
@@ -224,6 +222,8 @@ functionality like crash tolerance.
.. include:: ../includes/wasm-mobile-notavail.rst
+.. availability:: Unix.
+
.. exception:: error
Raised on :mod:`dbm.gnu`-specific errors, such as I/O errors.
:exc:`KeyError` is
@@ -325,7 +325,6 @@ functionality like crash tolerance.
----------------------------------------
.. module:: dbm.ndbm
- :platform: Unix
:synopsis: The New Database Manager
**Source code:** :source:`Lib/dbm/ndbm.py`
@@ -351,6 +350,8 @@ This module can be used with the "classic" NDBM interface
or the
.. include:: ../includes/wasm-mobile-notavail.rst
+.. availability:: Unix.
+
.. exception:: error
Raised on :mod:`dbm.ndbm`-specific errors, such as I/O errors.
:exc:`KeyError` is raised
diff --git a/Doc/library/dialog.rst b/Doc/library/dialog.rst
index e0693e8eb6ed22..17f1eb42c16b71 100644
--- a/Doc/library/dialog.rst
+++ b/Doc/library/dialog.rst
@@ -5,7 +5,6 @@ Tkinter Dialogs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. module:: tkinter.simpledialog
- :platform: Tk
:synopsis: Simple dialog windows
**Source code:** :source:`Lib/tkinter/simpledialog.py`
@@ -43,7 +42,6 @@ functions for creating simple modal dialogs to get a value
from the user.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. module:: tkinter.filedialog
- :platform: Tk
:synopsis: Dialog classes for file selection
**Source code:** :source:`Lib/tkinter/filedialog.py`
@@ -208,7 +206,6 @@ These do not emulate the native look-and-feel of the
platform.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. module:: tkinter.commondialog
- :platform: Tk
:synopsis: Tkinter base class for dialogs
**Source code:** :source:`Lib/tkinter/commondialog.py`
diff --git a/Doc/library/fcntl.rst b/Doc/library/fcntl.rst
index 3dcfe3b87f93d6..856fa355634461 100644
--- a/Doc/library/fcntl.rst
+++ b/Doc/library/fcntl.rst
@@ -2,7 +2,6 @@
==========================================================
.. module:: fcntl
- :platform: Unix
:synopsis: The fcntl() and ioctl() system calls.
.. sectionauthor:: Jaap Vermeulen
diff --git a/Doc/library/grp.rst b/Doc/library/grp.rst
index d1c7f22a209780..f436970e791ace 100644
--- a/Doc/library/grp.rst
+++ b/Doc/library/grp.rst
@@ -2,7 +2,6 @@
==================================
.. module:: grp
- :platform: Unix
:synopsis: The group database (getgrnam() and friends).
--------------
diff --git a/Doc/library/msvcrt.rst b/Doc/library/msvcrt.rst
index a2c5e375d2cc4f..79069c136c2841 100644
--- a/Doc/library/msvcrt.rst
+++ b/Doc/library/msvcrt.rst
@@ -2,7 +2,6 @@
===========================================================
.. module:: msvcrt
- :platform: Windows
:synopsis: Miscellaneous useful routines from the MS VC++ runtime.
.. sectionauthor:: Fred L. Drake, Jr. <[email protected]>
diff --git a/Doc/library/posix.rst b/Doc/library/posix.rst
index 14ab3e91e8a8e4..84d757df6bd42d 100644
--- a/Doc/library/posix.rst
+++ b/Doc/library/posix.rst
@@ -2,7 +2,6 @@
====================================================
.. module:: posix
- :platform: Unix
:synopsis: The most common POSIX system calls (normally used via module os).
--------------
diff --git a/Doc/library/pty.rst b/Doc/library/pty.rst
index 1a44bb13a841de..70404174999bed 100644
--- a/Doc/library/pty.rst
+++ b/Doc/library/pty.rst
@@ -2,7 +2,6 @@
=========================================
.. module:: pty
- :platform: Unix
:synopsis: Pseudo-Terminal Handling for Unix.
.. moduleauthor:: Steen Lumholt
diff --git a/Doc/library/pwd.rst b/Doc/library/pwd.rst
index e1ff32912132f7..7691fed2c7cb83 100644
--- a/Doc/library/pwd.rst
+++ b/Doc/library/pwd.rst
@@ -2,7 +2,6 @@
=====================================
.. module:: pwd
- :platform: Unix
:synopsis: The password database (getpwnam() and friends).
--------------
diff --git a/Doc/library/readline.rst b/Doc/library/readline.rst
index 17db0dbdfb4a0e..1ece65d03abdc3 100644
--- a/Doc/library/readline.rst
+++ b/Doc/library/readline.rst
@@ -2,7 +2,6 @@
===========================================
.. module:: readline
- :platform: Unix
:synopsis: GNU readline support for Python.
.. sectionauthor:: Skip Montanaro <[email protected]>
@@ -26,6 +25,8 @@ Readline library in general.
.. include:: ../includes/wasm-mobile-notavail.rst
+.. availability:: Unix.
+
.. note::
The underlying Readline library API may be implemented by
diff --git a/Doc/library/resource.rst b/Doc/library/resource.rst
index 52bfef59ac4f68..357686da00ca4e 100644
--- a/Doc/library/resource.rst
+++ b/Doc/library/resource.rst
@@ -2,7 +2,6 @@
===============================================
.. module:: resource
- :platform: Unix
:synopsis: An interface to provide resource usage information on the
current process.
.. moduleauthor:: Jeremy Hylton <[email protected]>
diff --git a/Doc/library/syslog.rst b/Doc/library/syslog.rst
index 548898a37bc6ea..b6bf01240951eb 100644
--- a/Doc/library/syslog.rst
+++ b/Doc/library/syslog.rst
@@ -2,7 +2,6 @@
===============================================
.. module:: syslog
- :platform: Unix
:synopsis: An interface to the Unix syslog library routines.
--------------
diff --git a/Doc/library/termios.rst b/Doc/library/termios.rst
index 0c6f3059fe71d1..64245bf0d62301 100644
--- a/Doc/library/termios.rst
+++ b/Doc/library/termios.rst
@@ -2,7 +2,6 @@
===========================================
.. module:: termios
- :platform: Unix
:synopsis: POSIX style tty control.
.. index::
diff --git a/Doc/library/tkinter.colorchooser.rst
b/Doc/library/tkinter.colorchooser.rst
index df2b324fd5d3a7..edb02d60d2d3f6 100644
--- a/Doc/library/tkinter.colorchooser.rst
+++ b/Doc/library/tkinter.colorchooser.rst
@@ -2,7 +2,6 @@
======================================================
.. module:: tkinter.colorchooser
- :platform: Tk
:synopsis: Color choosing dialog
**Source code:** :source:`Lib/tkinter/colorchooser.py`
diff --git a/Doc/library/tkinter.dnd.rst b/Doc/library/tkinter.dnd.rst
index 62298d96c26459..5cbfe8a37bdf6b 100644
--- a/Doc/library/tkinter.dnd.rst
+++ b/Doc/library/tkinter.dnd.rst
@@ -2,7 +2,6 @@
=============================================
.. module:: tkinter.dnd
- :platform: Tk
:synopsis: Tkinter drag-and-drop interface
**Source code:** :source:`Lib/tkinter/dnd.py`
diff --git a/Doc/library/tkinter.font.rst b/Doc/library/tkinter.font.rst
index ed01bd5f483943..3b99eb58d0f782 100644
--- a/Doc/library/tkinter.font.rst
+++ b/Doc/library/tkinter.font.rst
@@ -2,7 +2,6 @@
=============================================
.. module:: tkinter.font
- :platform: Tk
:synopsis: Tkinter font-wrapping class
**Source code:** :source:`Lib/tkinter/font.py`
diff --git a/Doc/library/tkinter.messagebox.rst
b/Doc/library/tkinter.messagebox.rst
index 0dc9632ca73304..e2676bafad29d6 100644
--- a/Doc/library/tkinter.messagebox.rst
+++ b/Doc/library/tkinter.messagebox.rst
@@ -2,7 +2,6 @@
======================================================
.. module:: tkinter.messagebox
- :platform: Tk
:synopsis: Various types of alert dialogs
**Source code:** :source:`Lib/tkinter/messagebox.py`
diff --git a/Doc/library/tkinter.scrolledtext.rst
b/Doc/library/tkinter.scrolledtext.rst
index 763e24929d74b5..9c755026c7d141 100644
--- a/Doc/library/tkinter.scrolledtext.rst
+++ b/Doc/library/tkinter.scrolledtext.rst
@@ -2,7 +2,6 @@
=====================================================
.. module:: tkinter.scrolledtext
- :platform: Tk
:synopsis: Text widget with a vertical scroll bar.
.. sectionauthor:: Fred L. Drake, Jr. <[email protected]>
diff --git a/Doc/library/tty.rst b/Doc/library/tty.rst
index 37778bf20bdcc7..5d22508f294946 100644
--- a/Doc/library/tty.rst
+++ b/Doc/library/tty.rst
@@ -2,7 +2,6 @@
==========================================
.. module:: tty
- :platform: Unix
:synopsis: Utility functions that perform common terminal control
operations.
.. moduleauthor:: Steen Lumholt
diff --git a/Doc/library/winreg.rst b/Doc/library/winreg.rst
index 6d1e8ecfc1741d..1ba16aab4e1872 100644
--- a/Doc/library/winreg.rst
+++ b/Doc/library/winreg.rst
@@ -2,7 +2,6 @@
==========================================
.. module:: winreg
- :platform: Windows
:synopsis: Routines and objects for manipulating the Windows registry.
.. sectionauthor:: Mark Hammond <[email protected]>
diff --git a/Doc/library/winsound.rst b/Doc/library/winsound.rst
index 430b19c2951673..1c87e14268c2d6 100644
--- a/Doc/library/winsound.rst
+++ b/Doc/library/winsound.rst
@@ -2,7 +2,6 @@
========================================================
.. module:: winsound
- :platform: Windows
:synopsis: Access to the sound-playing machinery for Windows.
.. moduleauthor:: Toby Dickenson <[email protected]>
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]