Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6368603 + 54005af commit 48e4bd6Copy full SHA for 48e4bd6
1 file changed
Doc/howto/pyporting.rst
@@ -299,7 +299,7 @@ access e.g. the ``importlib.abc`` module by doing the following::
299
300
import sys
301
302
- if sys.version[0] == 3:
+ if sys.version_info[0] == 3:
303
from importlib import abc
304
else:
305
from importlib2 import abc
@@ -311,7 +311,7 @@ Python 2::
311
312
313
314
- if sys.version[0] > 2:
+ if sys.version_info[0] > 2:
315
316
317
0 commit comments