Files
typeshed/stdlib/os
Matt Bogosian f55dff80f0 Override os._Environ.__ior__ (#6921)
Supporting the `|=` operator for `os.environ` was introduced in Python 3.9. However,
this led to false negatives in type checking statements like `os.environ |= {"k": "v"}`
and `os.environ |= [("k", "v")]` because the definition inherited from
`typing.MutableMapping` was insufficient. This addresses that deficiency.

Fixes #6919.
2022-01-15 15:52:31 -08:00
..