mirror of
https://github.com/python/cpython.git
synced 2025-11-14 07:49:28 +00:00
Remove unnecessary blank line in long code sample.
Remove a confusing article.
This commit is contained in:
parent
1c8d0e0579
commit
cd05ca9762
2 changed files with 4 additions and 6 deletions
|
|
@ -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
|
\strong{Note:} Nested tuples cannot be parsed when using keyword
|
||||||
arguments! Keyword parameters passed in which are not present in the
|
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
|
Here is an example module which uses keywords, based on an example by
|
||||||
Geoff Philbrick (\email{philbrick@hks.com}):
|
Geoff Philbrick (\email{philbrick@hks.com}):
|
||||||
|
|
@ -826,7 +826,6 @@ initkeywdarg()
|
||||||
{
|
{
|
||||||
/* Create the module and add the functions */
|
/* Create the module and add the functions */
|
||||||
Py_InitModule("keywdarg", keywdarg_methods);
|
Py_InitModule("keywdarg", keywdarg_methods);
|
||||||
|
|
||||||
}
|
}
|
||||||
\end{verbatim}
|
\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
|
\strong{Note:} Nested tuples cannot be parsed when using keyword
|
||||||
arguments! Keyword parameters passed in which are not present in the
|
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
|
Here is an example module which uses keywords, based on an example by
|
||||||
Geoff Philbrick (\email{philbrick@hks.com}):
|
Geoff Philbrick (\email{philbrick@hks.com}):
|
||||||
|
|
@ -826,7 +826,6 @@ initkeywdarg()
|
||||||
{
|
{
|
||||||
/* Create the module and add the functions */
|
/* Create the module and add the functions */
|
||||||
Py_InitModule("keywdarg", keywdarg_methods);
|
Py_InitModule("keywdarg", keywdarg_methods);
|
||||||
|
|
||||||
}
|
}
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue