]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove unused :platform: in module's docs (GH-144988)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Thu, 19 Feb 2026 11:45:30 +0000 (11:45 +0000)
committerGitHub <noreply@github.com>
Thu, 19 Feb 2026 11:45:30 +0000 (13:45 +0200)
It has not been outputted since Sphinx 1.1.

21 files changed:
Doc/library/curses.rst
Doc/library/dbm.rst
Doc/library/dialog.rst
Doc/library/fcntl.rst
Doc/library/grp.rst
Doc/library/msvcrt.rst
Doc/library/posix.rst
Doc/library/pty.rst
Doc/library/pwd.rst
Doc/library/readline.rst
Doc/library/resource.rst
Doc/library/syslog.rst
Doc/library/termios.rst
Doc/library/tkinter.colorchooser.rst
Doc/library/tkinter.dnd.rst
Doc/library/tkinter.font.rst
Doc/library/tkinter.messagebox.rst
Doc/library/tkinter.scrolledtext.rst
Doc/library/tty.rst
Doc/library/winreg.rst
Doc/library/winsound.rst

index 84efc6654e87c63af7a20c151986c1f63dfa645d..2dc638b3d4014b716c7225d933ad2c0b95400e5e 100644 (file)
@@ -4,7 +4,6 @@
 .. module:: curses
    :synopsis: An interface to the curses library, providing portable
               terminal handling.
-   :platform: Unix
 
 .. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
 .. sectionauthor:: Eric Raymond <esr@thyrsus.com>
@@ -25,6 +24,8 @@ Linux and the BSD variants of Unix.
 
 .. include:: ../includes/optional-module.rst
 
+.. availability:: Unix.
+
 .. note::
 
    Whenever the documentation mentions a *character* it can be specified
index 2481d77f5fbfba5c938515d50fe8c7384936069b..646981e8692cc530b822c4f26858544c1fbece14 100644 (file)
@@ -161,7 +161,6 @@ The individual submodules are described in the following sections.
 ----------------------------------------------
 
 .. module:: dbm.sqlite3
-   :platform: All
    :synopsis: SQLite backend for dbm
 
 .. versionadded:: 3.13
@@ -224,7 +223,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`
@@ -242,6 +240,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
@@ -347,7 +347,6 @@ functionality like crash tolerance.
 -----------------------------------------
 
 .. module:: dbm.ndbm
-   :platform: Unix
    :synopsis: The New Database Manager
 
 **Source code:** :source:`Lib/dbm/ndbm.py`
@@ -373,6 +372,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
index 6fee23e942183df1252a070a3c25b8318f754593..5d522556235a02bf281572f29d0c7a487482bd6e 100644 (file)
@@ -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`
index 2c9e883f56904fccae666926e3bf4d73da78d156..6e69d24a0e4586575237ca84abd42891849599e4 100644 (file)
@@ -2,7 +2,6 @@
 ==========================================================
 
 .. module:: fcntl
-   :platform: Unix
    :synopsis: The fcntl() and ioctl() system calls.
 
 .. sectionauthor:: Jaap Vermeulen
index d1c7f22a2097803a0957d357934e6d7241350668..f436970e791ace13daa344886b14503deef56fa9 100644 (file)
@@ -2,7 +2,6 @@
 ==================================
 
 .. module:: grp
-   :platform: Unix
    :synopsis: The group database (getgrnam() and friends).
 
 --------------
index 80f3ae4ee3f5c1e86b1e24d77be7c268cdc513ac..ee6798f969a1b6a5e506182824d1caf84909c7aa 100644 (file)
@@ -2,7 +2,6 @@
 ===========================================================
 
 .. module:: msvcrt
-   :platform: Windows
    :synopsis: Miscellaneous useful routines from the MS VC++ runtime.
 
 .. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
index c52661ae11254187f2b8c76e9d75e65fd806a5e2..1f1ca03dfd6222fe2957df3291a82a837692490a 100644 (file)
@@ -2,7 +2,6 @@
 ====================================================
 
 .. module:: posix
-   :platform: Unix
    :synopsis: The most common POSIX system calls (normally used via module os).
 
 --------------
index 397cf0ea7cece4c1bc2365e5e17c6051bdac2ccd..f0314ea5af81182328ecdd6ce482aecffbc9672d 100644 (file)
@@ -2,7 +2,6 @@
 =========================================
 
 .. module:: pty
-   :platform: Unix
    :synopsis: Pseudo-Terminal Handling for Unix.
 
 .. moduleauthor:: Steen Lumholt
index e1ff32912132f7d9cd700f4eda9c12d0e60a6433..7691fed2c7cb83572d30ecb549451b37e2b47eb3 100644 (file)
@@ -2,7 +2,6 @@
 =====================================
 
 .. module:: pwd
-   :platform: Unix
    :synopsis: The password database (getpwnam() and friends).
 
 --------------
index 1bdfb6ce0ed42685c565f567b13ac98c9c6543e5..59f5b54a042ea372995a6aa2d65777209f7f0664 100644 (file)
@@ -2,7 +2,6 @@
 ===========================================
 
 .. module:: readline
-   :platform: Unix
    :synopsis: GNU readline support for Python.
 
 .. sectionauthor:: Skip Montanaro <skip.montanaro@gmail.com>
@@ -28,6 +27,8 @@ Readline library in general.
 
 .. include:: ../includes/optional-module.rst
 
+.. availability:: Unix.
+
 .. note::
 
   The underlying Readline library API may be implemented by
index b176a28fdfe35b822460ee59ae78230beb2952c4..94bfbeab967693ca79e8c25c4077ec9f20e58a83 100644 (file)
@@ -2,7 +2,6 @@
 ===============================================
 
 .. module:: resource
-   :platform: Unix
    :synopsis: An interface to provide resource usage information on the current process.
 
 .. moduleauthor:: Jeremy Hylton <jeremy@alum.mit.edu>
index 548898a37bc6ea762bfdcfc12a3c3150bbb5b12a..b6bf01240951ebdf72a58b249ea572dec18bc1e0 100644 (file)
@@ -2,7 +2,6 @@
 ===============================================
 
 .. module:: syslog
-   :platform: Unix
    :synopsis: An interface to the Unix syslog library routines.
 
 --------------
index e3ce596d18486f5f1560cd59c5c46e499d5be216..537dfcedd8cf5a32bf6b24ff3d7486e6b9392a15 100644 (file)
@@ -2,7 +2,6 @@
 ===========================================
 
 .. module:: termios
-   :platform: Unix
    :synopsis: POSIX style tty control.
 
 .. index::
index a8468a4807357f80b9006bdbf84a6804d55c39e6..73f8f76a21044b087b0abeecfdd032b2191cf9cd 100644 (file)
@@ -2,7 +2,6 @@
 ======================================================
 
 .. module:: tkinter.colorchooser
-   :platform: Tk
    :synopsis: Color choosing dialog
 
 **Source code:** :source:`Lib/tkinter/colorchooser.py`
index 8c179d9793a85504d708a8aefe863d8968c8f4ae..48d16ccb204b9d57fd10f2b44fa739128940b40a 100644 (file)
@@ -2,7 +2,6 @@
 =============================================
 
 .. module:: tkinter.dnd
-   :platform: Tk
    :synopsis: Tkinter drag-and-drop interface
 
 **Source code:** :source:`Lib/tkinter/dnd.py`
index 9d7b3e0fc227c16dab635ae051a5ac358bafef72..9eecb803c3aedcba1603f4b161a4fcac5198cbfe 100644 (file)
@@ -2,7 +2,6 @@
 =============================================
 
 .. module:: tkinter.font
-   :platform: Tk
    :synopsis: Tkinter font-wrapping class
 
 **Source code:** :source:`Lib/tkinter/font.py`
index 4503913d6889b8c5d6dc18ad1535f5170729f49a..2a69d282638529d0fced3efe8d1d7d1d09044f56 100644 (file)
@@ -2,7 +2,6 @@
 ======================================================
 
 .. module:: tkinter.messagebox
-   :platform: Tk
    :synopsis: Various types of alert dialogs
 
 **Source code:** :source:`Lib/tkinter/messagebox.py`
index d2543c524b253256f45296bfb743a2a98a67af04..6c3c74afd47d82de26a870046df8ce09e1ca73c4 100644 (file)
@@ -2,7 +2,6 @@
 =====================================================
 
 .. module:: tkinter.scrolledtext
-   :platform: Tk
    :synopsis: Text widget with a vertical scroll bar.
 
 .. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
index b2fe1bac9b0b2fac764e01199ec4be59f16a6b58..fe46be8b3211a26b99f69d3b36e41ba36415b099 100644 (file)
@@ -2,7 +2,6 @@
 ==========================================
 
 .. module:: tty
-   :platform: Unix
    :synopsis: Utility functions that perform common terminal control operations.
 
 .. moduleauthor:: Steen Lumholt
index 99137db4496c550a0c97e7a806e567780a13dc77..12f9252af9356ec360d8fd4f40f78985bcb96229 100644 (file)
@@ -2,7 +2,6 @@
 ==========================================
 
 .. module:: winreg
-   :platform: Windows
    :synopsis: Routines and objects for manipulating the Windows registry.
 
 .. sectionauthor:: Mark Hammond <MarkH@ActiveState.com>
index 8efe4b1ee643e730020f8fc22f29fe822313dfd2..730b1bac658002a0769705b606424045d7cc4131 100644 (file)
@@ -2,7 +2,6 @@
 ========================================================
 
 .. module:: winsound
-   :platform: Windows
    :synopsis: Access to the sound-playing machinery for Windows.
 
 .. moduleauthor:: Toby Dickenson <htrd90@zepler.org>