mirror of
https://github.com/powerline/powerline.git
synced 2025-07-26 15:25:06 +02:00
Update documentation for Powerline.init
This commit is contained in:
parent
94354475b5
commit
fe7aad7695
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user