Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

class chain methods python

c = foo().line().my_print().bar().my_print()
assert c.kind == 'bar'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #class #chain #methods #python
ADD COMMENT
Topic
Name
6+7 =