diff options
author | Pablo Galindo <pablogsal@gmail.com> | 2021-12-07 22:47:24 (GMT) |
---|---|---|
committer | Pablo Galindo <pablogsal@gmail.com> | 2021-12-08 22:22:55 (GMT) |
commit | 3ea574f35b69235e17b7eb603bc5f1b026cf7d31 (patch) | |
tree | 1be62a4fa81023f37a22d683a7411ecc0b36d304 /Doc | |
parent | 2109f7880b65755329a877da3a7f8a362de07350 (diff) | |
download | cpython-3ea574f35b69235e17b7eb603bc5f1b026cf7d31.zip cpython-3ea574f35b69235e17b7eb603bc5f1b026cf7d31.tar.gz cpython-3ea574f35b69235e17b7eb603bc5f1b026cf7d31.tar.bz2 |
Fix some false positives of documentation syntax problems
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/reference/datamodel.rst | 2 | ||||
-rw-r--r-- | Doc/tools/susp-ignored.csv | 4 | ||||
-rw-r--r-- | Doc/using/configure.rst | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 81dad77..aa0d91a 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -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) diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv index 280e9a6..cbc3ac0 100644 --- a/Doc/tools/susp-ignored.csv +++ b/Doc/tools/susp-ignored.csv @@ -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]``. @@ -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 diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index 5720f01..7802a7c 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -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 |