Files
Semyon Proshev b0e57d5d3a Raise a warning on Finals reassignments (PEP 591) (PY-34945)
GitOrigin-RevId: 10729d211a99d3d1542e26752e2e103eb94396dc
2019-07-02 06:52:16 +03:00

5 lines
109 B
Python

import b
<warning descr="'a' is 'Final' and could not be reassigned">b.a</warning> = 2
from b import a
a = 3