Replies: 1 comment 1 reply
-
def some(a: Final[list[int]]):
a.append(1) # will still be ok
a = [] # not ok, but why? In my opinion, this was never implemented because this is not needed (prove me wrong by providing actual use-cases). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
python/peps#3102
Beta Was this translation helpful? Give feedback.
All reactions