Skip to content

Commit 6f8bd3d

Browse files
incessantmerakidonnemartin
authored andcommitted
Fix incorrect return type comment for dict.values() (#58)
1 parent fdd2cf5 commit 6f8bd3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python-data/structs.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@
10071007
"cell_type": "markdown",
10081008
"metadata": {},
10091009
"source": [
1010-
"Get the list of values in no particular order (although values() outputs the keys in the same order). In Python 3, keys() returns an iterator instead of a list."
1010+
"Get the list of values in no particular order (although values() outputs the keys in the same order). In Python 3, values() returns a [view object](https://docs.python.org/3/library/stdtypes.html?highlight=dictview#dictionary-view-objects) instead of a list."
10111011
]
10121012
},
10131013
{

0 commit comments

Comments
 (0)