Michael Hudson wrote: > > Some time ago, Gareth McCaughan suggested a syntax for staticmethods. > You'd write > > class C(object): > def static(arg) [staticmethod]: > return 1 + arg > > C.static(2) > => 3 Nice! Note that this is quite similar to the [WebMethod] in C#, VB.Net, etc. , and indeed we could have [webmethod] for some variation of a SOAP/RPC interface. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpcondeclaringwebservice.asp
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4