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 41d1c85 + 0881f37 commit 6d47001Copy full SHA for 6d47001
docs/notebooks/Writing Python 2-3 compatible code.ipynb
@@ -1747,7 +1747,7 @@
1747
"source": [
1748
"# Python 2 and 3: option 3\n",
1749
"try:\n",
1750
- " import itertools.imap as map\n",
+ " from itertools import imap as map\n",
1751
"except ImportError:\n",
1752
" pass\n",
1753
"\n",
@@ -1845,7 +1845,7 @@
1845
1846
"# Python 2 and 3: option 2\n",
1847
1848
1849
1850
1851
0 commit comments