Commit 70543acf authored by Georg Brandl's avatar Georg Brandl

Refrain from using inline suites.

parent 91d2a3fb
...@@ -458,10 +458,12 @@ function like this:: ...@@ -458,10 +458,12 @@ function like this::
def cheeseshop(kind, *arguments, **keywords): def cheeseshop(kind, *arguments, **keywords):
print("-- Do you have any", kind, "?") print("-- Do you have any", kind, "?")
print("-- I'm sorry, we're all out of", kind) print("-- I'm sorry, we're all out of", kind)
for arg in arguments: print(arg) for arg in arguments:
print(arg)
print("-" * 40) print("-" * 40)
keys = sorted(keywords.keys()) keys = sorted(keywords.keys())
for kw in keys: print(kw, ":", keywords[kw]) for kw in keys:
print(kw, ":", keywords[kw])
It could be called like this:: It could be called like this::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment