summaryrefslogtreecommitdiffstats
path: root/Lib/curses
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/curses')
-rw-r--r--Lib/curses/has_key.py2
-rw-r--r--Lib/curses/textpad.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/curses/has_key.py b/Lib/curses/has_key.py
index 60b7be9..4e37b48 100644
--- a/Lib/curses/has_key.py
+++ b/Lib/curses/has_key.py
@@ -189,4 +189,4 @@ if __name__ == '__main__':
% (_curses.keyname( key ), system, python) )
finally:
_curses.endwin()
- for i in L: print i
+ for i in L: print(i)
diff --git a/Lib/curses/textpad.py b/Lib/curses/textpad.py
index 120c572..24a964a 100644
--- a/Lib/curses/textpad.py
+++ b/Lib/curses/textpad.py
@@ -170,4 +170,4 @@ if __name__ == '__main__':
return Textbox(win).edit()
str = curses.wrapper(test_editbox)
- print 'Contents of text box:', repr(str)
+ print('Contents of text box:', repr(str))