Update documentation for `Powerline.init`
This commit is contained in:
parent
94354475b5
commit
fe7aad7695
|
@ -350,7 +350,11 @@ class Powerline(object):
|
|||
config_loader=None):
|
||||
'''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.run_once = run_once
|
||||
|
|
Loading…
Reference in New Issue