~pythonregexp2.7/python/issue2636

« 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:36:32 UTC
  • mfrom: (39021.1.402 Regexp-2.6)
  • Revision ID: darklord@timehorse.com-20080609143632-wwwkx92u1t5l7yd3
Merged in changes from the latest python source snapshot.

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: