Fixed small bug in documentation.

This commit is contained in:
Eric Traut 2019-08-02 20:47:03 -07:00
parent 85a3eaf63c
commit ec87aaea63

View File

@ -48,7 +48,7 @@ Pyright supports type constraints (sometimes called “path constraints”) to t
def (a: Optional[Union[str, List[str]]):
if isinstance(a, str):
log(a)
elif a:
elif isinstance(a, list):
log(msg) for msg in a
else:
log(a)