Message243247
>>> import inspect
>>> def foo(a, *, b=10): pass
...
>>> inspect.signature(foo)
<Signature at 0xb6e2768c "(a, *, b=10)">
I think the id is not needed in informative repr if you implemented __eq__. Identity doesn't matter if different instances can be equal. The id in the repr only adds a noise. |
|
Date |
User |
Action |
Args |
2015-05-15 06:24:48 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, yselivanov |
2015-05-15 06:24:48 | serhiy.storchaka | set | messageid: <1431671088.82.0.205930864804.issue24200@psf.upfronthosting.co.za> |
2015-05-15 06:24:48 | serhiy.storchaka | link | issue24200 messages |
2015-05-15 06:24:48 | serhiy.storchaka | create | |
|