Kaydet (Commit) cd05ca97 authored tarafından Fred Drake's avatar Fred Drake

Remove unnecessary blank line in long code sample.

Remove a confusing article.
üst 1c8d0e05
......@@ -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}
......
......@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment