mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-36101: remove non-ascii characters in docstring (GH-12018)
* remove non-ascii characters in docstring * clinic.py emits a warning when docstring has non-ascii character
This commit is contained in:
parent
9e456bc70e
commit
463572c8be
5 changed files with 14 additions and 11 deletions
4
Python/clinic/context.c.h
generated
4
Python/clinic/context.c.h
generated
|
@ -82,7 +82,7 @@ PyDoc_STRVAR(_contextvars_Context_values__doc__,
|
|||
"values($self, /)\n"
|
||||
"--\n"
|
||||
"\n"
|
||||
"Return a list of all variables’ values in the context object.");
|
||||
"Return a list of all variables\' values in the context object.");
|
||||
|
||||
#define _CONTEXTVARS_CONTEXT_VALUES_METHODDEF \
|
||||
{"values", (PyCFunction)_contextvars_Context_values, METH_NOARGS, _contextvars_Context_values__doc__},
|
||||
|
@ -177,4 +177,4 @@ PyDoc_STRVAR(_contextvars_ContextVar_reset__doc__,
|
|||
|
||||
#define _CONTEXTVARS_CONTEXTVAR_RESET_METHODDEF \
|
||||
{"reset", (PyCFunction)_contextvars_ContextVar_reset, METH_O, _contextvars_ContextVar_reset__doc__},
|
||||
/*[clinic end generated code: output=67c3a8f76b6cf4e7 input=a9049054013a1b77]*/
|
||||
/*[clinic end generated code: output=a86b66e1516c25d4 input=a9049054013a1b77]*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue