https://github.com/python/cpython/commit/24b53097d95782b3b5212a2be0d77d7cf3e28b99 commit: 24b53097d95782b3b5212a2be0d77d7cf3e28b99 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka <[email protected]> date: 2026-02-19T11:51:18Z summary:
[3.14] Remove unused :platform: in module's docs (GH-144988) (GH-144994) 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 <[email protected]> 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 84efc6654e87c6..2dc638b3d4014b 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]> @@ -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 diff --git a/Doc/library/dbm.rst b/Doc/library/dbm.rst index 7b8c7c74c19a5b..c736ee0d705acc 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 6fee23e942183d..5d522556235a02 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 a8a844ecc64bc0..4a08af4f90d419 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 c52661ae112541..1f1ca03dfd6222 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 e5623681120a10..9d6036d92c4cc8 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 4672ac44d0ff33..be36f7b1b6a2ea 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]> @@ -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 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 e3ce596d18486f..537dfcedd8cf5a 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 a8468a4807357f..73f8f76a21044b 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 8c179d9793a855..48d16ccb204b9d 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 9d7b3e0fc227c1..9eecb803c3aedc 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 4503913d6889b8..2a69d282638529 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 d2543c524b2532..6c3c74afd47d82 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 b2fe1bac9b0b2f..fe46be8b3211a2 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 570653c00ed16a..086f5fcf968b36 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 1978385d3c01aa..70ddfe3bae0f7d 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]
