[Python-checkins] r54443 - sandbox/trunk/2to3/README

collin.winter python-checkins at python.org
Mon Mar 19 21:30:10 CET 2007


Author: collin.winter
Date: Mon Mar 19 21:30:07 2007
New Revision: 54443

Modified:
   sandbox/trunk/2to3/README
Log:
Add PEP citations for certain fixers.

Modified: sandbox/trunk/2to3/README
==============================================================================
--- sandbox/trunk/2to3/README	(original)
+++ sandbox/trunk/2to3/README	Mon Mar 19 21:30:07 2007
@@ -36,13 +36,13 @@
 * **fix_dict** - fix up dict.keys(), .values(), .items() and their iterator
   versions.
   
-* **fix_except** - adjust "except" statements to Python 3 syntax.
+* **fix_except** - adjust "except" statements to Python 3 syntax (PEP 3110).
 
 * **fix_exec** - convert "exec" statements to exec() function calls.
 
 * **fix_has_key** - "d.has_key(x)" -> "x in d".
 
-* **fix_input** - "input()" -> "eval(input())".
+* **fix_input** - "input()" -> "eval(input())" (PEP 3111).
 
 * **fix_intern** - "intern(x)" -> "sys.intern(x)".
 
@@ -50,23 +50,23 @@
 
 * **fix_ne** - convert the "<>" operator to "!=".
 
-* **fix_next** - fixer for it.next() -> next(it), per PEP 3114.
+* **fix_next** - fixer for it.next() -> next(it) (PEP 3114).
 
 * **fix_print** - convert "print" statements to print() function calls.
 
-* **fix_raise** - convert "raise" statements to Python 3 syntax.
+* **fix_raise** - convert "raise" statements to Python 3 syntax (PEP 3109).
 
-* **fix_raw_input** - "raw_input()" -> "input()".
+* **fix_raw_input** - "raw_input()" -> "input()" (PEP 3111).
 
 * **fix_repr** - swap backticks for repr() calls.
 
 * **fix_sysexcinfo** - warn on usage of sys.value, sys.type and
   sys.traceback.
 
-* **fix_throw** - fix generator.throw() calls to be 3.0-compliant.
+* **fix_throw** - fix generator.throw() calls to be 3.0-compliant (PEP 3109).
 
 * **fix_tuple_params** - remove tuple parameters from function and method
-  declarations.
+  declarations (PEP 3113).
   
 * **fix_xrange** - "xrange()" -> "range()".
 


More information about the Python-checkins mailing list