summaryrefslogtreecommitdiff
path: root/Doc/library/importlib.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-19 16:29:26 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-19 16:29:26 +0300
commitecf41da83e5db98734b19f205899168cc56da943 (patch)
treee22e4354b5cc1e47d3781176a203037554eb3474 /Doc/library/importlib.rst
parent9f2e377beb4731c770f1383f2bae92fe1b8cc2e2 (diff)
downloadcpython-git-ecf41da83e5db98734b19f205899168cc56da943.tar.gz
Issue #19795: Mark up None as literal text.
Diffstat (limited to 'Doc/library/importlib.rst')
-rw-r--r--Doc/library/importlib.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index 3d83509292..cb52f740ee 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -1044,7 +1044,7 @@ find and load modules.
(``__loader__``)
The loader to use for loading. For namespace packages this should be
- set to None.
+ set to ``None``.
.. attribute:: origin
@@ -1052,33 +1052,33 @@ find and load modules.
Name of the place from which the module is loaded, e.g. "builtin" for
built-in modules and the filename for modules loaded from source.
- Normally "origin" should be set, but it may be None (the default)
+ Normally "origin" should be set, but it may be ``None`` (the default)
which indicates it is unspecified.
.. attribute:: submodule_search_locations
(``__path__``)
- List of strings for where to find submodules, if a package (None
+ List of strings for where to find submodules, if a package (``None``
otherwise).
.. attribute:: loader_state
Container of extra module-specific data for use during loading (or
- None).
+ ``None``).
.. attribute:: cached
(``__cached__``)
- String for where the compiled module should be stored (or None).
+ String for where the compiled module should be stored (or ``None``).
.. attribute:: parent
(``__package__``)
(Read-only) Fully-qualified name of the package to which the module
- belongs as a submodule (or None).
+ belongs as a submodule (or ``None``).
.. attribute:: has_location