Skip to content

Commit 11e5e91

Browse files
committed
comments about 'input_func'
1 parent 372f374 commit 11e5e91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dir_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313

1414
def main():
15-
if sys.version_info.major >= 3:
16-
input_func = input
15+
if sys.version_info.major >= 3: # if the interpreter version is 3.X, use 'input',
16+
input_func = input # otherwise use 'raw_input'
1717
else:
1818
input_func = raw_input
1919

0 commit comments

Comments
 (0)