]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Remove unused :platform: in module's docs (GH-144988) (GH-144994)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 19 Feb 2026 11:51:18 +0000 (12:51 +0100)
committerGitHub <noreply@github.com>
Thu, 19 Feb 2026 11:51:18 +0000 (11:51 +0000)
Remove unused :platform: in module's docs (GH-144988)

It has not been outputted since Sphinx 1.1.
(cherry picked from commit 20caf1c08440684b618d2166022ae82b2db3b696)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
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 7b8c7c74c19a5b4c95c0c09696cc455e35218801..c736ee0d705acc427a982e92fa4f3dfa4c8a65e9 100644 (file)
@@ -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
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 a8a844ecc64bc025c7752445c3eeb37c8b41af21..4a08af4f90d419a984207d688d35f42c630166e3 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 a2c5e375d2cc4fda47d312ae13bfbed6c1d6c945..79069c136c284166f3f5d92e6050ae57a0a69623 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 e5623681120a101efc9999925e65143efb08f019..9d6036d92c4cc80b5d469d4f1dce893c01cd4731 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 4672ac44d0ff3352dc3c2842fe1bdb79f2860f48..be36f7b1b6a2ea32302aea2cf34588a46c0e7986 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 52bfef59ac4f681c9a3a94f3f454eb5145331f30..357686da00ca4e16d1f3f9f66d05815cef7f2697 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 570653c00ed16a980d307efb3a0e77eca71fb7da..086f5fcf968b36b397868d66bb65e20e0e7a0a47 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 1978385d3c01aa4321b42d7f5e6fef93ec779d51..70ddfe3bae0f7d35e107160e6fd4bb8eb214a363 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>