]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Remove unused :platform: in module's docs (GH-144988) (GH-144998)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Thu, 19 Feb 2026 12:13:53 +0000 (12:13 +0000)
committerGitHub <noreply@github.com>
Thu, 19 Feb 2026 12:13:53 +0000 (12:13 +0000)
It has not been outputted since Sphinx 1.1.
(cherry picked from commit 20caf1c08440684b618d2166022ae82b2db3b696)

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 35fa4c415f3c4b27558cfbd0dceee7c559743add..a81534e1dfdc5490cb9a9a4c6872c87c4a0b5012 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>
@@ -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
index 628232cb631bd49a4c85d663e32288088296fa96..ddfe73a86b77f6edddbf34bf1012c70089249ebc 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 e0693e8eb6ed2263ceeb62cdd114b143cfc68765..17f1eb42c16b7177d0a4945c166eaa16de249c2b 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 3dcfe3b87f93d6329a9d11526c704d093dc63d65..856fa3556344618625591ec545fd719ff4ba97c7 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 14ab3e91e8a8e4c87a45af6dd0772dac74bcc381..84d757df6bd42d02fd6e5575c6578739d12cd3e4 100644 (file)
@@ -2,7 +2,6 @@
 ====================================================
 
 .. module:: posix
-   :platform: Unix
    :synopsis: The most common POSIX system calls (normally used via module os).
 
 --------------
index 1a44bb13a841de6db0c44f1a04aa81a540b8072e..70404174999bed673f595786f1a1b2cbfae6f646 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 17db0dbdfb4a0eaacec9c2b9ba26802537addcd5..1ece65d03abdc3c585a81fef8c6bd5cfcfaa55be 100644 (file)
@@ -2,7 +2,6 @@
 ===========================================
 
 .. module:: readline
-   :platform: Unix
    :synopsis: GNU readline support for Python.
 
 .. sectionauthor:: Skip Montanaro <skip.montanaro@gmail.com>
@@ -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
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 0c6f3059fe71d1651e142ec2a93ee84a323bf875..64245bf0d62301b4b7f4dd13923d65a043856a4f 100644 (file)
@@ -2,7 +2,6 @@
 ===========================================
 
 .. module:: termios
-   :platform: Unix
    :synopsis: POSIX style tty control.
 
 .. index::
index df2b324fd5d3a7203c5bef47911d58372556cbe2..edb02d60d2d3f69162c503cdcf4e6d9a400ce5fd 100644 (file)
@@ -2,7 +2,6 @@
 ======================================================
 
 .. module:: tkinter.colorchooser
-   :platform: Tk
    :synopsis: Color choosing dialog
 
 **Source code:** :source:`Lib/tkinter/colorchooser.py`
index 62298d96c2645989ff8dc3ae39c3d35c007dcabe..5cbfe8a37bdf6bcc66cdc1bcf7e32ab8bac8ad88 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 ed01bd5f48394386281ea3ccab1f33b09d05ae03..3b99eb58d0f782471427b6376b96ee795facb73c 100644 (file)
@@ -2,7 +2,6 @@
 =============================================
 
 .. module:: tkinter.font
-   :platform: Tk
    :synopsis: Tkinter font-wrapping class
 
 **Source code:** :source:`Lib/tkinter/font.py`
index 0dc9632ca73304c48a0f5026c1d19ad4e695f79f..e2676bafad29d63af449c9f94aefeb8f9e24ca21 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 763e24929d74b51e9238af47d884463cf1eabdb0..9c755026c7d1416d90160f3d304af3918c556204 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 37778bf20bdcc72b9de5ef60dacb42c3be20a45c..5d22508f29494636f89962ace7ef9af311258e6a 100644 (file)
@@ -2,7 +2,6 @@
 ==========================================
 
 .. module:: tty
-   :platform: Unix
    :synopsis: Utility functions that perform common terminal control operations.
 
 .. moduleauthor:: Steen Lumholt
index 6d1e8ecfc1741d025e4e451abc16c810d8a913b0..1ba16aab4e1872aab60a46460e8a2075e20a27a5 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 430b19c29516739b7229daf8309bb145783d6a1b..1c87e14268c2d63fa62c52f8d1cb176d23bd9a45 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>