diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-11-26 20:31:53 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-11-26 20:31:53 +0000 |
commit | ad9e60c571257968750a3374578f960dd41d009a (patch) | |
tree | a2fbdf972e994a43059ca2119c6d796ee4e70606 /documentation | |
parent | b645181e1f7be4acdadd870b8ad1773047e07170 (diff) | |
parent | 158013640a8ceea0b2144922fa03f6b8ed4076dc (diff) | |
download | six-git-ad9e60c571257968750a3374578f960dd41d009a.tar.gz |
Merged in lbesson/six/lbesson/a-small-typing-mistake-on-documentationi-1480180767819 (pull request #83)
A small typing mistake on documentation/index.rst
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/index.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/index.rst b/documentation/index.rst index 0fa0063..dbae80a 100644 --- a/documentation/index.rst +++ b/documentation/index.rst @@ -530,14 +530,14 @@ functionality; its structure mimics the structure of the Python 3 from six.moves.cPickle import loads - work, six places special proxy objects in in :data:`py3:sys.modules`. These + work, six places special proxy objects in :data:`py3:sys.modules`. These proxies lazily load the underlying module when an attribute is fetched. This will fail if the underlying module is not available in the Python interpreter. For example, ``sys.modules["six.moves.winreg"].LoadKey`` would fail on any non-Windows platform. Unfortunately, some applications try to load attributes on every module in :data:`py3:sys.modules`. six mitigates this problem for some applications by pretending attributes on unimportable - modules don't exist. This hack doesn't work in every case, though. If you are + modules do not exist. This hack does not work in every case, though. If you are encountering problems with the lazy modules and don't use any from imports directly from ``six.moves`` modules, you can workaround the issue by removing the six proxy modules:: |