Message158568
| Author |
flox |
| Recipients |
flox |
| Date |
2012年04月17日.21:28:15 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1334698096.33.0.253940616413.issue14607@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This is probably a bug.
>>> class A:
... def f(self, __a=42):
... pass
...
>>> A().f()
>>> class A:
... def f(self, *, __a=42):
... pass
...
>>> A().f()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: f() needs keyword-only argument _A__a |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年04月17日 21:28:16 | flox | set | recipients:
+ flox |
| 2012年04月17日 21:28:16 | flox | set | messageid: <1334698096.33.0.253940616413.issue14607@psf.upfronthosting.co.za> |
| 2012年04月17日 21:28:15 | flox | link | issue14607 messages |
| 2012年04月17日 21:28:15 | flox | create |
|