grr... spacing didn't quite come out right. Blasted tabs. Let's try this again: class Example(object): def foo(self, *args) [ synchronized(lock), attributes(author='SWH', protocol=IMyProtocol), myArgumentWireMarshaller, ]: pass # Code goes here def bar(self, *args) [ synchronized(lock), attributes(author='SWH', protocol=IMyProtocol), myArgumentWireMarshaller, ]: pass # Code goes here def baz(self, *args) [ synchronized(lock), attributes(author='SWH', protocol=IMyProtocol), myArgumentWireMarshaller, ]: pass # Code goes here more like: class Example(object): IMyProtocolMethod = [ synchronized(lock), attributes(author='SWH', protocol=IMyProtocol), myArgumentWireMarshaller, ] def foo(self, *args) [methodreturns(float)] + IMyProtocolMethod: pass # Code goes here def bar(self, *args) [methodreturns(str)] + IMyProtocolMethod: pass # Code goes here def baz(self, *args) [methodreturns(int)] + IMyProtocolMethod: pass # Code goes here
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