[Python-checkins] cpython (merge 3.5 -> default): Merge with 3.5
zach.ware
python-checkins at python.org
Wed Aug 17 10:52:56 EDT 2016
https://hg.python.org/cpython/rev/1aeb52c635ad
changeset: 102734:1aeb52c635ad
parent: 102732:14a0ba0a71d2
parent: 102733:df3a907d94cd
user: Zachary Ware <zachary.ware at gmail.com>
date: Wed Aug 17 09:52:32 2016 -0500
summary:
Merge with 3.5
files:
Doc/howto/pyporting.rst | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/howto/pyporting.rst b/Doc/howto/pyporting.rst
--- a/Doc/howto/pyporting.rst
+++ b/Doc/howto/pyporting.rst
@@ -299,7 +299,7 @@
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 @@
import sys
- if sys.version[0] > 2:
+ if sys.version_info[0] > 2:
from importlib import abc
else:
from importlib2 import abc
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list