Skip to content

Commit 3ea574f

Browse files
committed
Fix some false positives of documentation syntax problems
1 parent 2109f78 commit 3ea574f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Doc/reference/datamodel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2331,7 +2331,7 @@ called::
23312331
from inspect import isclass
23322332

23332333
def subscribe(obj, x):
2334-
"""Return the result of the expression `obj[x]`"""
2334+
"""Return the result of the expression 'obj[x]'"""
23352335

23362336
class_of_obj = type(obj)
23372337

Doc/tools/susp-ignored.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,6 @@ whatsnew/changelog,,::,default::DeprecationWarning
369369
library/importlib.metadata,,:main,"EntryPoint(name='wheel', value='wheel.cli:main', group='console_scripts')"
370370
library/importlib.metadata,,`,loading the metadata for packages for the indicated ``context``.
371371
library/re,,`,"`"
372-
using/configure,84,:db2,=db1:db2:...
373372
library/typing,,`,# Type of ``val`` is narrowed to ``str``
374373
library/typing,,`,"# Else, type of ``val`` is narrowed to ``float``."
375374
library/typing,,`,# Type of ``val`` is narrowed to ``list[str]``.
@@ -380,4 +379,5 @@ library/tkinter,,::,"grid [ttk::button .frm.btn -text ""Quit"" -command ""destro
380379
library/tkinter,,::,ttk::frame
381380
library/tkinter,,::,ttk::button
382381
library/tkinter,,::,ttk::widget
383-
reference/datamodel,2285,`,"""""""Return the result of the expression `obj[x]`"""""""
382+
whatsnew/changelog,305,::,Lib/email/mime/nonmultipart.py::MIMENonMultipart
383+
whatsnew/changelog,308,::,Lib/ctypes/test/test_functions.py::test_mro

Doc/using/configure.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ General Options
8080

8181
.. versionadded:: 3.9
8282

83-
.. cmdoption:: --with-dbmliborder=db1:db2:...
83+
.. cmdoption:: --with-dbmliborder=<list of backend names>
8484

8585
Override order to check db backends for the :mod:`dbm` module
8686

0 commit comments

Comments
 (0)