diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2013-11-29 12:17:13 +0200 |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-11-29 12:17:13 +0200 |
| commit | fbc1c268031a9c8fad65f49c8381b6145bd66ffc (patch) | |
| tree | 61f0d5554573668c553dd9f39a50d74c12dd50bb /Doc/library/importlib.rst | |
| parent | 4b79518f83fa6c4dadd69326276032d74c8e3df7 (diff) | |
| download | cpython-git-fbc1c268031a9c8fad65f49c8381b6145bd66ffc.tar.gz | |
Issue #19795: Improved markup of True/False constants.
Diffstat (limited to 'Doc/library/importlib.rst')
| -rw-r--r-- | Doc/library/importlib.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index efd027b316..e51b315f42 100644 --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -918,8 +918,18 @@ an :term:`importer`. Reliance on this decorator is discouraged when it is possible to set :attr:`__package__` before importing. By setting it beforehand the code for the module is executed with the +<<<<<<< attribute set and thus can be used by global level code during initialization. +======= + The ``cpython-32`` string comes from the current magic tag (see + :func:`get_tag`; if :attr:`sys.implementation.cache_tag` is not defined then + :exc:`NotImplementedError` will be raised). The returned path will end in + ``.pyc`` when ``__debug__`` is ``True`` or ``.pyo`` for an optimized Python + (i.e. ``__debug__`` is ``False``). By passing in ``True`` or ``False`` for + *debug_override* you can override the system's value for ``__debug__`` for + extension selection. +>>>>>>> .. note:: |
