Slightly more efficient to just print the string.
This commit is contained in:
parent
5dea9349f0
commit
40f8e4505d
|
|
@ -167,7 +167,7 @@ class StackWorld(StackDisplayWorld):
|
||||||
self.viewer.update_stack(self.stack)
|
self.viewer.update_stack(self.stack)
|
||||||
|
|
||||||
def print_stack(self):
|
def print_stack(self):
|
||||||
print('%s . ' % stack_to_string(self.stack), end='')
|
print(stack_to_string(self.stack), '•', end=' ')
|
||||||
if self.viewer:
|
if self.viewer:
|
||||||
self.viewer.update_stack(self.stack)
|
self.viewer.update_stack(self.stack)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue