A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2010-October/098485.html below:

[Python-checkins] r85530 - python/branches/py3k/Doc/tutorial/controlflow.rst

[Python-checkins] r85530 - python/branches/py3k/Doc/tutorial/controlflow.rstgeorg.brandl python-checkins at python.org
Fri Oct 15 17:32:05 CEST 2010
Author: georg.brandl
Date: Fri Oct 15 17:32:05 2010
New Revision: 85530

Log:
Refrain from using inline suites.

Modified:
   python/branches/py3k/Doc/tutorial/controlflow.rst

Modified: python/branches/py3k/Doc/tutorial/controlflow.rst
==============================================================================
--- python/branches/py3k/Doc/tutorial/controlflow.rst	(original)
+++ python/branches/py3k/Doc/tutorial/controlflow.rst	Fri Oct 15 17:32:05 2010
@@ -458,10 +458,12 @@
    def cheeseshop(kind, *arguments, **keywords):
        print("-- Do you have any", 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)
        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::
 
More information about the Python-checkins mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4