bpo-46104: Fix example broken by GH-30148 (GH-30203)

See discussion in GH-30179.
This commit is contained in:
Alex Waygood 2021-12-20 04:48:35 +00:00 committed by GitHub
parent 29ea68bd1d
commit 7c5c3f7254
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -432,7 +432,7 @@ value of type :data:`Any` and assign it to any variable::
a = [] # OK
a = 2 # OK
s = '' # Inferred type of 's' is str
s: str = ''
s = a # OK
def foo(item: Any) -> int: