summaryrefslogtreecommitdiff
path: root/blessings/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'blessings/__init__.py')
-rw-r--r--blessings/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/blessings/__init__.py b/blessings/__init__.py
index 0b8cc97..9b18dcf 100644
--- a/blessings/__init__.py
+++ b/blessings/__init__.py
@@ -111,7 +111,7 @@ class Terminal(object):
there, then return the cursor to its original position::
term = Terminal()
- with term.position(2, 5):
+ with term.location(2, 5):
print 'Hello, world!'
for x in xrange(10):
print 'I can do it %i times!' % x