On 30/05/20 4:28 pm, Steven D'Aprano wrote:
py> len() TypeError: len() takes exactly one argument (0 given)to be replaced with something like this: UnboundLocalError: local variable referenced before assignment
Not in my version of the idea, because a parameter would only be allowed to be unbound if it is specifically declared as optional in the header (by some means to be determined). -- Greg _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/A5OGJTYQNI2MQQLKM4Q7APWRW27C4OC5/ Code of Conduct: http://python.org/psf/codeofconduct/
