[Python-checkins] r71402 - python/branches/py3k/Doc/whatsnew/3.1.rst

raymond.hettinger python-checkins at python.org
Thu Apr 9 00:50:09 CEST 2009


Author: raymond.hettinger
Date: Thu Apr  9 00:50:09 2009
New Revision: 71402

Log:
Clean-up an example.

Modified:
   python/branches/py3k/Doc/whatsnew/3.1.rst

Modified: python/branches/py3k/Doc/whatsnew/3.1.rst
==============================================================================
--- python/branches/py3k/Doc/whatsnew/3.1.rst	(original)
+++ python/branches/py3k/Doc/whatsnew/3.1.rst	Thu Apr  9 00:50:09 2009
@@ -215,8 +215,8 @@
   the field names are being created by an external source such as a
   CSV header, SQL field list, or user input::
 
-    >>> query = input('Enter a query: ')
-    Enter a query: SELECT region, dept, count(*) FROM main GROUPBY region, dept
+    >>> query = input()
+    SELECT region, dept, count(*) FROM main GROUPBY region, dept
 
     >>> cursor.execute(query)
     >>> query_fields = [desc[0] for desc in cursor.description]


More information about the Python-checkins mailing list