Skip to content

Commit 9f1b8e9

Browse files
jmolinskimsullivan
authored andcommitted
Fix missing quotes in sample python snippet (#7487)
1 parent 37e5be1 commit 9f1b8e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/type_inference_and_annotations.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ in the following statement:
160160
.. code-block:: python
161161
162162
def foo(arg: List[int]) -> None:
163-
print(Items: ', '.join(arg))
163+
print('Items:', ', '.join(arg))
164164
165165
a = [] # Error: Need type annotation for 'a'
166166
foo(a)

0 commit comments

Comments
 (0)