mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Merged revisions 66748 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r66748 | christian.heimes | 2008-10-02 21:47:50 +0200 (Thu, 02 Oct 2008) | 1 line Fixed a couple more C99 comments and one occurence of inline. ........ + another // comment in bytesobject
This commit is contained in:
parent
c472532c0c
commit
1a8501c648
6 changed files with 23 additions and 23 deletions
|
@ -382,7 +382,7 @@ warn_explicit(PyObject *category, PyObject *message,
|
|||
}
|
||||
}
|
||||
|
||||
if (rc == 1) // Already warned for this module. */
|
||||
if (rc == 1) /* Already warned for this module. */
|
||||
goto return_none;
|
||||
if (rc == 0) {
|
||||
PyObject *show_fxn = get_warnings_attr("showwarning");
|
||||
|
@ -776,8 +776,8 @@ static PyMethodDef warnings_functions[] = {
|
|||
warn_doc},
|
||||
{"warn_explicit", (PyCFunction)warnings_warn_explicit,
|
||||
METH_VARARGS | METH_KEYWORDS, warn_explicit_doc},
|
||||
// XXX(brett.cannon): add showwarning?
|
||||
// XXX(brett.cannon): Reasonable to add formatwarning?
|
||||
/* XXX(brett.cannon): add showwarning? */
|
||||
/* XXX(brett.cannon): Reasonable to add formatwarning? */
|
||||
{NULL, NULL} /* sentinel */
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue