Skip to content

Commit

Permalink
Fix some false positives of documentation syntax problems
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogsal committed Dec 8, 2021
1 parent 2109f78 commit 3ea574f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Doc/reference/datamodel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2331,7 +2331,7 @@ called::
from inspect import isclass

def subscribe(obj, x):
"""Return the result of the expression `obj[x]`"""
"""Return the result of the expression 'obj[x]'"""

class_of_obj = type(obj)

Expand Down
4 changes: 2 additions & 2 deletions Doc/tools/susp-ignored.csv
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@ whatsnew/changelog,,::,default::DeprecationWarning
library/importlib.metadata,,:main,"EntryPoint(name='wheel', value='wheel.cli:main', group='console_scripts')"
library/importlib.metadata,,`,loading the metadata for packages for the indicated ``context``.
library/re,,`,"`"
using/configure,84,:db2,=db1:db2:...
library/typing,,`,# Type of ``val`` is narrowed to ``str``
library/typing,,`,"# Else, type of ``val`` is narrowed to ``float``."
library/typing,,`,# Type of ``val`` is narrowed to ``list[str]``.
Expand All @@ -380,4 +379,5 @@ library/tkinter,,::,"grid [ttk::button .frm.btn -text ""Quit"" -command ""destro
library/tkinter,,::,ttk::frame
library/tkinter,,::,ttk::button
library/tkinter,,::,ttk::widget
reference/datamodel,2285,`,"""""""Return the result of the expression `obj[x]`"""""""
whatsnew/changelog,305,::,Lib/email/mime/nonmultipart.py::MIMENonMultipart
whatsnew/changelog,308,::,Lib/ctypes/test/test_functions.py::test_mro
2 changes: 1 addition & 1 deletion Doc/using/configure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ General Options

.. versionadded:: 3.9

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

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

Expand Down

0 comments on commit 3ea574f

Please sign in to comment.