Update documentation for Powerline.init

This commit is contained in:
ZyX 2014-08-16 18:30:25 +04:00
parent 94354475b5
commit fe7aad7695

View File

@ -350,7 +350,11 @@ class Powerline(object):
config_loader=None): config_loader=None):
'''Do actual initialization. '''Do actual initialization.
__init__ function only stores the arguments. __init__ function only stores the arguments and runs this function. This
function exists for powerline to be able to reload itself: it is easier
to make ``__init__`` store arguments and call overriddable ``init`` than
tell developers that each time they override Powerline.__init__ in
subclasses they must store actual arguments.
''' '''
self.ext = ext self.ext = ext
self.run_once = run_once self.run_once = run_once