Skip to content

Commit 20caf1c

Browse files
Remove unused :platform: in module's docs (GH-144988)
It has not been outputted since Sphinx 1.1.
1 parent e84a2cc commit 20caf1c

21 files changed

+8
-25
lines changed

Doc/library/curses.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
.. module:: curses
55
:synopsis: An interface to the curses library, providing portable
66
terminal handling.
7-
:platform: Unix
87

98
.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
109
.. sectionauthor:: Eric Raymond <esr@thyrsus.com>
@@ -25,6 +24,8 @@ Linux and the BSD variants of Unix.
2524

2625
.. include:: ../includes/optional-module.rst
2726

27+
.. availability:: Unix.
28+
2829
.. note::
2930

3031
Whenever the documentation mentions a *character* it can be specified

Doc/library/dbm.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ The individual submodules are described in the following sections.
161161
----------------------------------------------
162162

163163
.. module:: dbm.sqlite3
164-
:platform: All
165164
:synopsis: SQLite backend for dbm
166165

167166
.. versionadded:: 3.13
@@ -224,7 +223,6 @@ or any other SQLite browser, including the SQLite CLI.
224223
----------------------------------------
225224

226225
.. module:: dbm.gnu
227-
:platform: Unix
228226
:synopsis: GNU database manager
229227

230228
**Source code:** :source:`Lib/dbm/gnu.py`
@@ -242,6 +240,8 @@ functionality like crash tolerance.
242240

243241
.. include:: ../includes/wasm-mobile-notavail.rst
244242

243+
.. availability:: Unix.
244+
245245
.. exception:: error
246246

247247
Raised on :mod:`!dbm.gnu`-specific errors, such as I/O errors. :exc:`KeyError` is
@@ -347,7 +347,6 @@ functionality like crash tolerance.
347347
-----------------------------------------
348348

349349
.. module:: dbm.ndbm
350-
:platform: Unix
351350
:synopsis: The New Database Manager
352351

353352
**Source code:** :source:`Lib/dbm/ndbm.py`
@@ -373,6 +372,8 @@ This module can be used with the "classic" NDBM interface or the
373372

374373
.. include:: ../includes/wasm-mobile-notavail.rst
375374

375+
.. availability:: Unix.
376+
376377
.. exception:: error
377378

378379
Raised on :mod:`!dbm.ndbm`-specific errors, such as I/O errors. :exc:`KeyError` is raised

Doc/library/dialog.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Tkinter Dialogs
55
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66

77
.. module:: tkinter.simpledialog
8-
:platform: Tk
98
:synopsis: Simple dialog windows
109

1110
**Source code:** :source:`Lib/tkinter/simpledialog.py`
@@ -43,7 +42,6 @@ functions for creating simple modal dialogs to get a value from the user.
4342
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4443

4544
.. module:: tkinter.filedialog
46-
:platform: Tk
4745
:synopsis: Dialog classes for file selection
4846

4947
**Source code:** :source:`Lib/tkinter/filedialog.py`
@@ -208,7 +206,6 @@ These do not emulate the native look-and-feel of the platform.
208206
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
209207

210208
.. module:: tkinter.commondialog
211-
:platform: Tk
212209
:synopsis: Tkinter base class for dialogs
213210

214211
**Source code:** :source:`Lib/tkinter/commondialog.py`

Doc/library/fcntl.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
==========================================================
33

44
.. module:: fcntl
5-
:platform: Unix
65
:synopsis: The fcntl() and ioctl() system calls.
76

87
.. sectionauthor:: Jaap Vermeulen

Doc/library/grp.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
==================================
33

44
.. module:: grp
5-
:platform: Unix
65
:synopsis: The group database (getgrnam() and friends).
76

87
--------------

Doc/library/msvcrt.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
===========================================================
33

44
.. module:: msvcrt
5-
:platform: Windows
65
:synopsis: Miscellaneous useful routines from the MS VC++ runtime.
76

87
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>

Doc/library/posix.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
====================================================
33

44
.. module:: posix
5-
:platform: Unix
65
:synopsis: The most common POSIX system calls (normally used via module os).
76

87
--------------

Doc/library/pty.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
=========================================
33

44
.. module:: pty
5-
:platform: Unix
65
:synopsis: Pseudo-Terminal Handling for Unix.
76

87
.. moduleauthor:: Steen Lumholt

Doc/library/pwd.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
=====================================
33

44
.. module:: pwd
5-
:platform: Unix
65
:synopsis: The password database (getpwnam() and friends).
76

87
--------------

Doc/library/readline.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
===========================================
33

44
.. module:: readline
5-
:platform: Unix
65
:synopsis: GNU readline support for Python.
76

87
.. sectionauthor:: Skip Montanaro <skip.montanaro@gmail.com>
@@ -28,6 +27,8 @@ Readline library in general.
2827

2928
.. include:: ../includes/optional-module.rst
3029

30+
.. availability:: Unix.
31+
3132
.. note::
3233

3334
The underlying Readline library API may be implemented by

0 commit comments

Comments
 (0)