diff options
author | Victor Stinner <vstinner@python.org> | 2020-08-14 10:20:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-14 10:20:05 (GMT) |
commit | bb0b08540cc93e56f3f1bde1b39ce086d9e35fe1 (patch) | |
tree | 07b1760928dc17078a061fe7424f0f9303addb1c /Doc/extending | |
parent | 87d8287865e5c9f137f6b5cf8c34c2c509eb5e9d (diff) | |
download | cpython-bb0b08540cc93e56f3f1bde1b39ce086d9e35fe1.zip cpython-bb0b08540cc93e56f3f1bde1b39ce086d9e35fe1.tar.gz cpython-bb0b08540cc93e56f3f1bde1b39ce086d9e35fe1.tar.bz2 |
bpo-40204: Fix reference to terms in the doc (GH-21865)
Sphinx 3 requires to refer to terms with the exact case.
For example, fix the Sphinx 3 warning:
Doc/library/pkgutil.rst:71: WARNING: term Loader not found in case
sensitive match.made a reference to loader instead.
Diffstat (limited to 'Doc/extending')
-rw-r--r-- | Doc/extending/newtypes_tutorial.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/extending/newtypes_tutorial.rst b/Doc/extending/newtypes_tutorial.rst index 0eb6ffd..4da77e7 100644 --- a/Doc/extending/newtypes_tutorial.rst +++ b/Doc/extending/newtypes_tutorial.rst @@ -416,7 +416,7 @@ But this would be risky. Our type doesn't restrict the type of the ``first`` member, so it could be any kind of object. It could have a destructor that causes code to be executed that tries to access the ``first`` member; or that destructor could release the -:term:`Global interpreter Lock` and let arbitrary code run in other +:term:`Global interpreter Lock <GIL>` and let arbitrary code run in other threads that accesses and modifies our object. To be paranoid and protect ourselves against this possibility, we almost |