From 6f8bd3d60ed3bcf433ec491f969cb7746ad408d5 Mon Sep 17 00:00:00 2001 From: Ashwin Kandel Date: Sat, 15 Sep 2018 07:32:57 +1000 Subject: [PATCH] Fix incorrect return type comment for dict.values() (#58) --- python-data/structs.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-data/structs.ipynb b/python-data/structs.ipynb index 83eb266..664f4f8 100644 --- a/python-data/structs.ipynb +++ b/python-data/structs.ipynb @@ -1007,7 +1007,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "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." + "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." ] }, {