Skip to content

Commit 9fcde90

Browse files
committed
Fix small doc bug: location of itervalues
1 parent b466639 commit 9fcde90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/compatible_idioms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ Iterable dict values:
512512
.. code:: python
513513
514514
# Python 2 and 3: option 2
515-
from builtins import itervalues
515+
from future.utils import itervalues
516516
# or
517517
from six import itervalues
518518

docs/notebooks/Writing Python 2-3 compatible code.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@
11291129
"outputs": [],
11301130
"source": [
11311131
"# Python 2 and 3: option 2\n",
1132-
"from builtins import itervalues\n",
1132+
"from future.utils import itervalues\n",
11331133
"# or\n",
11341134
"from six import itervalues\n",
11351135
"\n",

0 commit comments

Comments
 (0)