diff options
author | Fred Drake <fdrake@acm.org> | 1998-03-07 05:32:08 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-03-07 05:32:08 (GMT) |
commit | cd05ca97625b26f086528141c95b34fe5d97b235 (patch) | |
tree | 959a1b4dde5f85e6c3213d2714815da18faf6b24 /Doc | |
parent | 1c8d0e05790be31082dd8e3195199033912b6fbd (diff) | |
download | cpython-cd05ca97625b26f086528141c95b34fe5d97b235.zip cpython-cd05ca97625b26f086528141c95b34fe5d97b235.tar.gz cpython-cd05ca97625b26f086528141c95b34fe5d97b235.tar.bz2 |
Remove unnecessary blank line in long code sample.
Remove a confusing article.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/ext.tex | 5 | ||||
-rw-r--r-- | Doc/ext/ext.tex | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/Doc/ext.tex b/Doc/ext.tex index 9285c1c..0c9f779 100644 --- a/Doc/ext.tex +++ b/Doc/ext.tex @@ -781,7 +781,7 @@ with the type information from \var{format} from left to right. \strong{Note:} Nested tuples cannot be parsed when using keyword arguments! Keyword parameters passed in which are not present in the -\var{kwlist} will cause a \exception{TypeError} to be raised. +\var{kwlist} will cause \exception{TypeError} to be raised. Here is an example module which uses keywords, based on an example by Geoff Philbrick (\email{philbrick@hks.com}): @@ -825,8 +825,7 @@ void initkeywdarg() { /* Create the module and add the functions */ - Py_InitModule("keywdarg", keywdarg_methods); - + Py_InitModule("keywdarg", keywdarg_methods); } \end{verbatim} diff --git a/Doc/ext/ext.tex b/Doc/ext/ext.tex index 9285c1c..0c9f779 100644 --- a/Doc/ext/ext.tex +++ b/Doc/ext/ext.tex @@ -781,7 +781,7 @@ with the type information from \var{format} from left to right. \strong{Note:} Nested tuples cannot be parsed when using keyword arguments! Keyword parameters passed in which are not present in the -\var{kwlist} will cause a \exception{TypeError} to be raised. +\var{kwlist} will cause \exception{TypeError} to be raised. Here is an example module which uses keywords, based on an example by Geoff Philbrick (\email{philbrick@hks.com}): @@ -825,8 +825,7 @@ void initkeywdarg() { /* Create the module and add the functions */ - Py_InitModule("keywdarg", keywdarg_methods); - + Py_InitModule("keywdarg", keywdarg_methods); } \end{verbatim} |