[Joypy-announce] joypy/Joypy: Slightly more efficient to just print the string.

Back to archive index
scmno****@osdn***** scmno****@osdn*****
Mon May 18 03:52:20 JST 2020


changeset 28c06d12caa3 in joypy/Joypy
details: http://hg.osdn.jp/view/joypy/Joypy?cmd=changeset;node=28c06d12caa3
user: Simon Forman <sform****@hushm*****>
date: Sun May 17 11:51:59 2020 -0700
description: Slightly more efficient to just print the string.

diffstat:

 joy/gui/world.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 3529c7d8a106 -r 28c06d12caa3 joy/gui/world.py
--- a/joy/gui/world.py	Sat May 16 10:44:35 2020 -0700
+++ b/joy/gui/world.py	Sun May 17 11:51:59 2020 -0700
@@ -167,7 +167,7 @@
 		self.viewer.update_stack(self.stack)
 
 	def print_stack(self):
-		print('%s . ' % stack_to_string(self.stack), end='')
+		print(stack_to_string(self.stack), '•', end=' ')
 		if self.viewer:
 			self.viewer.update_stack(self.stack)
 


More information about the Joypy-announce mailing list
Back to archive index