Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ab2f966f
Commit
ab2f966f
authored
Jun 05, 2015
by
Berker Peksag
Browse files
Options
Browse Files
Download
Plain Diff
Issue #23659: Document **fmtparams in csv.register_dialect docstring.
Initial patch by Brandon Milam.
parents
a5f62edb
12b50ce4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Doc/library/csv.rst
Doc/library/csv.rst
+1
-1
Modules/_csv.c
Modules/_csv.c
+1
-1
No files found.
Doc/library/csv.rst
View file @
ab2f966f
...
...
@@ -109,7 +109,7 @@ The :mod:`csv` module defines the following functions:
spamwriter.writerow(['Spam', 'Lovely Spam', 'Wonderful Spam'])
.. function:: register_dialect(name[, dialect
], **fmtparams
)
.. function:: register_dialect(name[, dialect
[, **fmtparams]]
)
Associate *dialect* with *name*. *name* must be a string. The
dialect can be specified either by passing a sub-class of :class:`Dialect`, or
...
...
Modules/_csv.c
View file @
ab2f966f
...
...
@@ -1588,7 +1588,7 @@ PyDoc_STRVAR(csv_get_dialect_doc,
PyDoc_STRVAR
(
csv_register_dialect_doc
,
"Create a mapping from a string name to a dialect class.
\n
"
" dialect = csv.register_dialect(name
, dialect
)"
);
" dialect = csv.register_dialect(name
[, dialect[, **fmtparams]]
)"
);
PyDoc_STRVAR
(
csv_unregister_dialect_doc
,
"Delete the name/dialect mapping associated with a string name.
\n
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment