Skip to content

Commit 92b1f56

Browse files
authored
Fix a documentation error (KeysView instead of ItemsView) (#12549)
1 parent 756277c commit 92b1f56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/getting_started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Arguments with default values can be annotated like so:
157157
# 'kwargs' has type 'dict[str, float]' (a dict of strs to floats)
158158
for arg in args:
159159
print(arg)
160-
for key, value in kwargs:
160+
for key, value in kwargs.items():
161161
print(key, value)
162162
163163
Additional types, and the typing module

0 commit comments

Comments
 (0)