~pythonregexp2.7/python/issue2636-01

« back to all changes in this revision

Viewing changes to Doc/tutorial/controlflow.rst

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-06-09 14:37:21 UTC
  • mfrom: (39022.1.14 Regexp-2.6)
  • Revision ID: darklord@timehorse.com-20080609143721-bj0g1mwta28038da
Merged in changes from the core Regexp branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
445
445
up in a tuple.  Before the variable number of arguments, zero or more normal
446
446
arguments may occur. ::
447
447
 
448
 
   def fprintf(file, format, *args):
449
 
       file.write(format % args)
 
448
   def write_multiple_items(file, separator, *args):
 
449
       file.write(separator.join(args))
450
450
 
451
451
 
452
452
.. _tut-unpacking-arguments: