diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2016-08-17 14:52:32 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2016-08-17 14:52:32 (GMT) |
commit | 48e4bd6a0278a022a38dc07777834a174adfef55 (patch) | |
tree | 2d7fcfdfaec51e3a14911458720b3c5a140625b0 /Doc/howto | |
parent | 636860354ee7be4b7bf55dddb0cbb129c989b681 (diff) | |
parent | 54005afeeebddbd5b211307b743b591a4cdb7750 (diff) | |
download | cpython-48e4bd6a0278a022a38dc07777834a174adfef55.zip cpython-48e4bd6a0278a022a38dc07777834a174adfef55.tar.gz cpython-48e4bd6a0278a022a38dc07777834a174adfef55.tar.bz2 |
Merge with 3.5
Diffstat (limited to 'Doc/howto')
-rw-r--r-- | Doc/howto/pyporting.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/pyporting.rst b/Doc/howto/pyporting.rst index c479f22..696f8e7 100644 --- a/Doc/howto/pyporting.rst +++ b/Doc/howto/pyporting.rst @@ -299,7 +299,7 @@ access e.g. the ``importlib.abc`` module by doing the following:: import sys - if sys.version[0] == 3: + if sys.version_info[0] == 3: from importlib import abc else: from importlib2 import abc @@ -311,7 +311,7 @@ Python 2:: import sys - if sys.version[0] > 2: + if sys.version_info[0] > 2: from importlib import abc else: from importlib2 import abc |