Message412519
Given this current behavior:
>>> def foo(a, /, b): pass
...
>>> foo()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: foo() missing 2 required positional arguments: 'a' and 'b'
What would you suggest?
I agree the current messages aren't perfect. |
|
Date |
User |
Action |
Args |
2022-02-04 17:05:31 | eric.smith | set | recipients:
+ eric.smith, Anders.Hovmöller |
2022-02-04 17:05:31 | eric.smith | set | messageid: <1643994331.77.0.0500691363385.issue46637@roundup.psfhosted.org> |
2022-02-04 17:05:31 | eric.smith | link | issue46637 messages |
2022-02-04 17:05:31 | eric.smith | create | |
|