Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbd2f6d commit a436878Copy full SHA for a436878
1 file changed
Doc/tutorial/controlflow.rst
@@ -445,8 +445,8 @@ called with an arbitrary number of arguments. These arguments will be wrapped
445
up in a tuple. Before the variable number of arguments, zero or more normal
446
arguments may occur. ::
447
448
- def fprintf(file, template, *args):
449
- file.write(template.format(args))
+ def write_multiple_items(file, seperator, *args):
+ file.write(seperator.join(args))
450
451
452
.. _tut-unpacking-arguments:
0 commit comments