Skip to content

Commit fc1ea8f

Browse files
committed
Merge pull request smurfix#92 from smurfix/upstream
Missing quotes in sample code
2 parents 3448ca9 + ad19ff9 commit fc1ea8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Or you can do optional arguments::
204204

205205
@manager.command
206206
def hello(name="Fred")
207-
print hello, name
207+
print "hello", name
208208

209209
These can be called like so::
210210

@@ -301,7 +301,7 @@ Suppose you have this command::
301301
uppercase = app.config.get('USE_UPPERCASE', False)
302302
if uppercase:
303303
name = name.upper()
304-
print hello, name
304+
print "hello", name
305305

306306
You can now run the following::
307307

0 commit comments

Comments
 (0)