From cd05ca97625b26f086528141c95b34fe5d97b235 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Sat, 7 Mar 1998 05:32:08 +0000 Subject: Remove unnecessary blank line in long code sample. Remove a confusing article. --- Doc/ext.tex | 5 ++--- 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} -- cgit v0.12