Skip to content

Commit cbc5855

Browse files
authored
docs: fix simple typo, uknown -> unknown (#104)
There is a small typo in pyannotate_runtime/collect_types.py. Should read `unknown` rather than `uknown`.
1 parent 2b06f54 commit cbc5855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyannotate_runtime/collect_types.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ def name_from_type(type_):
427427
if module in BUILTIN_MODULES or module == '<unknown>':
428428
# Omit module prefix for known built-ins, for convenience. This
429429
# makes unit tests for this module simpler.
430-
# Also ignore '<uknown>' modules so pyannotate can parse these types
430+
# Also ignore '<unknown>' modules so pyannotate can parse these types
431431
return type_.__name__
432432
else:
433433
name = getattr(type_, '__qualname__', None) or type_.__name__

0 commit comments

Comments
 (0)