summaryrefslogtreecommitdiffstats
path: root/Python/clinic
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2022-10-03 19:09:03 (GMT)
committerGitHub <noreply@github.com>2022-10-03 19:09:03 (GMT)
commit873a2f25272ca9fb027866a9730c44ba627b30cc (patch)
tree8110624c7b51116c53ad331a5041a1f892aaa483 /Python/clinic
parente990c6af086e00dedc877d12b74c1ceedec511d1 (diff)
downloadcpython-873a2f25272ca9fb027866a9730c44ba627b30cc.zip
cpython-873a2f25272ca9fb027866a9730c44ba627b30cc.tar.gz
cpython-873a2f25272ca9fb027866a9730c44ba627b30cc.tar.bz2
Fix typos in `bltinmodule.c`. (GH-97766)
Diffstat (limited to 'Python/clinic')
-rw-r--r--Python/clinic/bltinmodule.c.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Python/clinic/bltinmodule.c.h b/Python/clinic/bltinmodule.c.h
index abe5476..0feba57 100644
--- a/Python/clinic/bltinmodule.c.h
+++ b/Python/clinic/bltinmodule.c.h
@@ -21,8 +21,8 @@ PyDoc_STRVAR(builtin___import____doc__,
"\n"
"The globals argument is only used to determine the context;\n"
"they are not modified. The locals argument is unused. The fromlist\n"
-"should be a list of names to emulate ``from name import ...\'\', or an\n"
-"empty list to emulate ``import name\'\'.\n"
+"should be a list of names to emulate ``from name import ...``, or an\n"
+"empty list to emulate ``import name``.\n"
"When importing a module from a package, note that __import__(\'A.B\', ...)\n"
"returns package A when fromlist is empty, but its submodule B when\n"
"fromlist is not empty. The level argument is used to determine whether to\n"
@@ -614,7 +614,7 @@ PyDoc_STRVAR(builtin_setattr__doc__,
"\n"
"Sets the named attribute on the given object to the specified value.\n"
"\n"
-"setattr(x, \'y\', v) is equivalent to ``x.y = v\'\'");
+"setattr(x, \'y\', v) is equivalent to ``x.y = v``");
#define BUILTIN_SETATTR_METHODDEF \
{"setattr", _PyCFunction_CAST(builtin_setattr), METH_FASTCALL, builtin_setattr__doc__},
@@ -649,7 +649,7 @@ PyDoc_STRVAR(builtin_delattr__doc__,
"\n"
"Deletes the named attribute from the given object.\n"
"\n"
-"delattr(x, \'y\') is equivalent to ``del x.y\'\'");
+"delattr(x, \'y\') is equivalent to ``del x.y``");
#define BUILTIN_DELATTR_METHODDEF \
{"delattr", _PyCFunction_CAST(builtin_delattr), METH_FASTCALL, builtin_delattr__doc__},
@@ -1212,4 +1212,4 @@ builtin_issubclass(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
exit:
return return_value;
}
-/*[clinic end generated code: output=919725bf5d400acf input=a9049054013a1b77]*/
+/*[clinic end generated code: output=f3da5510745785af input=a9049054013a1b77]*/