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.
1 parent 3da5743 commit 54005afCopy full SHA for 54005af
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