mirror of
https://github.com/microsoft/pyright.git
synced 2024-09-11 16:06:39 +03:00
Fixed small bug in documentation.
This commit is contained in:
parent
85a3eaf63c
commit
ec87aaea63
@ -48,7 +48,7 @@ Pyright supports type constraints (sometimes called “path constraints”) to t
|
|||||||
def (a: Optional[Union[str, List[str]]):
|
def (a: Optional[Union[str, List[str]]):
|
||||||
if isinstance(a, str):
|
if isinstance(a, str):
|
||||||
log(a)
|
log(a)
|
||||||
elif a:
|
elif isinstance(a, list):
|
||||||
log(msg) for msg in a
|
log(msg) for msg in a
|
||||||
else:
|
else:
|
||||||
log(a)
|
log(a)
|
||||||
|
Loading…
Reference in New Issue
Block a user