File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ def get_char(prompt=None):
8383 if len (s ) == 1 :
8484 return s [0 ]
8585
86- # temporarily here for backwards compatibility
86+ # Temporarily here for backwards compatibility
8787 if prompt is None :
8888 print ("Retry: " , end = "" )
8989
@@ -104,7 +104,7 @@ def get_float(prompt=None):
104104 except ValueError :
105105 pass
106106
107- # temporarily here for backwards compatibility
107+ # Temporarily here for backwards compatibility
108108 if prompt is None :
109109 print ("Retry: " , end = "" )
110110
@@ -122,12 +122,12 @@ def get_int(prompt=None):
122122 if re .search (r"^[+-]?\d+$" , s ):
123123 try :
124124 i = int (s , 10 )
125- if type (i ) is int : # could become long in Python 2
125+ if type (i ) is int : # Could become long in Python 2
126126 return i
127127 except ValueError :
128128 pass
129129
130- # temporarily here for backwards compatibility
130+ # Temporarily here for backwards compatibility
131131 if prompt is None :
132132 print ("Retry: " , end = "" )
133133
@@ -149,7 +149,7 @@ def get_long(prompt=None):
149149 except ValueError :
150150 pass
151151
152- # temporarily here for backwards compatibility
152+ # Temporarily here for backwards compatibility
153153 if prompt is None :
154154 print ("Retry: " , end = "" )
155155
You can’t perform that action at this time.
0 commit comments