@@ -113,7 +113,7 @@ The :mod:`csv` module defines the following functions:
113113 spamwriter.writerow(['Spam', 'Lovely Spam', 'Wonderful Spam'])
114114
115115
116- .. function :: register_dialect(name[, dialect[ , **fmtparams]] )
116+ .. function :: register_dialect(name, /, dialect='excel' , **fmtparams)
117117
118118 Associate *dialect * with *name *. *name * must be a string. The
119119 dialect can be specified either by passing a sub-class of :class: `Dialect `, or
@@ -139,7 +139,8 @@ The :mod:`csv` module defines the following functions:
139139 Return the names of all registered dialects.
140140
141141
142- .. function :: field_size_limit([new_limit])
142+ .. function :: field_size_limit()
143+ field_size_limit(new_limit)
143144
144145 Returns the current maximum field size allowed by the parser. If *new_limit * is
145146 given, this becomes the new limit.
@@ -526,7 +527,7 @@ out surrounded by parens. This may cause some problems for other programs which
526527read CSV files (assuming they support complex numbers at all).
527528
528529
529- .. method :: csvwriter.writerow(row)
530+ .. method :: csvwriter.writerow(row, / )
530531
531532 Write the *row * parameter to the writer's file object, formatted according
532533 to the current :class: `Dialect `. Return the return value of the call to the
@@ -535,7 +536,7 @@ read CSV files (assuming they support complex numbers at all).
535536 .. versionchanged :: 3.5
536537 Added support of arbitrary iterables.
537538
538- .. method :: csvwriter.writerows(rows)
539+ .. method :: csvwriter.writerows(rows, / )
539540
540541 Write all elements in *rows * (an iterable of *row * objects as described
541542 above) to the writer's file object, formatted according to the current
0 commit comments