File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ def __init__(
7373
7474 self .update ()
7575
76- def update (self , force : Optional [ bool ] = False ) -> None :
76+ def update (self , force : bool = False ) -> None :
7777 """Attempt to update the display. If ``animate_time`` has elapsed since
7878 previews animation frame then move the characters over by 1 index.
7979 Must be called in the main loop of user code.
@@ -122,7 +122,7 @@ def current_index(self) -> int:
122122 return self ._current_index
123123
124124 @current_index .setter
125- def current_index (self , new_index : int ):
125+ def current_index (self , new_index : int ) -> None :
126126 if new_index < len (self .full_text ):
127127 self ._current_index = new_index
128128 else :
@@ -138,7 +138,7 @@ def full_text(self) -> str:
138138 return self ._full_text
139139
140140 @full_text .setter
141- def full_text (self , new_text : str ):
141+ def full_text (self , new_text : str ) -> None :
142142 if new_text [- 1 ] != " " :
143143 new_text = "{} " .format (new_text )
144144 self ._full_text = new_text
You can’t perform that action at this time.
0 commit comments