[Python-checkins] r59013 - sandbox/trunk/pep362/pep362_py2_fodder.py
brett.cannon
python-checkins at python.org
Fri Nov 16 07:30:29 CET 2007
Author: brett.cannon
Date: Fri Nov 16 07:30:29 2007
New Revision: 59013
Added:
sandbox/trunk/pep362/pep362_py2_fodder.py (contents, props changed)
Log:
Testing fodder for Python 2.x.
Added: sandbox/trunk/pep362/pep362_py2_fodder.py
==============================================================================
--- (empty file)
+++ sandbox/trunk/pep362/pep362_py2_fodder.py Fri Nov 16 07:30:29 2007
@@ -0,0 +1,8 @@
+def tuple_args((a, (b,))):
+ return a, b
+
+def default_tuple_args((a, (b,))=(1, (2,))):
+ pass
+
+def all_args(a, (b, (c,)), d=0, (e, (f,))=(4, (5,)), *g, **h):
+ return a, b, c, d, e, f, g, h
More information about the Python-checkins
mailing list