summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-11-26 02:20:04 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-11-26 02:20:04 (GMT)
commit67f953c5e788bc56a86f3baa1771ff293fde98bd (patch)
treec326c5d4ef9d26ddca70d114c1e5316211b28406 /Demo
parent31717e8a5527281d8676a7a2f5023cba007e1770 (diff)
downloadcpython-67f953c5e788bc56a86f3baa1771ff293fde98bd.zip
cpython-67f953c5e788bc56a86f3baa1771ff293fde98bd.tar.gz
cpython-67f953c5e788bc56a86f3baa1771ff293fde98bd.tar.bz2
s/colour/color/g
Diffstat (limited to 'Demo')
-rwxr-xr-xDemo/curses/life.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Demo/curses/life.py b/Demo/curses/life.py
index bac39f9..3cbc053 100755
--- a/Demo/curses/life.py
+++ b/Demo/curses/life.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# life.py -- A curses-based version of Conway's Game of Life.
# Contributed by AMK
-# Mouse support and colour by Dafydd Crosby
+# Mouse support and color by Dafydd Crosby
#
# An empty board will be displayed, and the following commands are available:
# E : Erase the board
@@ -148,7 +148,7 @@ def display_menu(stdscr, menu_y):
"Display the menu of possible keystroke commands"
erase_menu(stdscr, menu_y)
- # If colour, then light the menu up :-)
+ # If color, then light the menu up :-)
if curses.has_colors():
stdscr.attrset(curses.color_pair(1))
stdscr.addstr(menu_y, 4,
@@ -164,7 +164,7 @@ def keyloop(stdscr):
menu_y = (stdscr_y-3)-1
display_menu(stdscr, menu_y)
- # If colour, then initialize the color pairs
+ # If color, then initialize the color pairs
if curses.has_colors():
curses.init_pair(1, curses.COLOR_BLUE, 0)
curses.init_pair(2, curses.COLOR_CYAN, 0)