summaryrefslogtreecommitdiffstats
path: root/Doc/ext
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-03-07 05:32:08 (GMT)
committerFred Drake <fdrake@acm.org>1998-03-07 05:32:08 (GMT)
commitcd05ca97625b26f086528141c95b34fe5d97b235 (patch)
tree959a1b4dde5f85e6c3213d2714815da18faf6b24 /Doc/ext
parent1c8d0e05790be31082dd8e3195199033912b6fbd (diff)
downloadcpython-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/ext')
-rw-r--r--Doc/ext/ext.tex5
1 files changed, 2 insertions, 3 deletions
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}