Message168358
| Author |
Arvin.Moezzi |
| Recipients |
Arvin.Moezzi |
| Date |
2012年08月16日.08:44:58 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1345106698.85.0.891934481025.issue15683@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Or maybe even
class partial_applicable():
def __call__(self, func):
def __wrapper(*args, **kvargs):
try:
return func(*args, **kvargs)
except TypeError:
partial_func = partial(func, *args, **kvargs)
return partial_applicable()(partial_func)
return __wrapper |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年08月16日 08:44:58 | Arvin.Moezzi | set | recipients:
+ Arvin.Moezzi |
| 2012年08月16日 08:44:58 | Arvin.Moezzi | set | messageid: <1345106698.85.0.891934481025.issue15683@psf.upfronthosting.co.za> |
| 2012年08月16日 08:44:58 | Arvin.Moezzi | link | issue15683 messages |
| 2012年08月16日 08:44:58 | Arvin.Moezzi | create |
|