[3.10] bpo-46104: Fix example broken by GH-30148 (GH-30203) (GH-30209)

See discussion in GH-30179.
(cherry picked from commit 7c5c3f7254)


Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>

Automerge-Triggered-By: GH:Fidget-Spinner
This commit is contained in:
Miss Islington (bot) 2021-12-19 22:01:51 -08:00 committed by GitHub
parent d7537ac8e3
commit 0c0bd78ccf
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: