diff options
author | Anthony Sottile <asottile@umich.edu> | 2019-02-13 04:15:54 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2019-02-13 04:15:54 (GMT) |
commit | 73d600239b0aa34198bce2b7982e4ff14c92f119 (patch) | |
tree | 0b73dd319adf3579be1456fc1a4c25c5a41044e3 | |
parent | b9d2e97601847a1845bf96e2895a6214f02b92a6 (diff) | |
download | cpython-73d600239b0aa34198bce2b7982e4ff14c92f119.zip cpython-73d600239b0aa34198bce2b7982e4ff14c92f119.tar.gz cpython-73d600239b0aa34198bce2b7982e4ff14c92f119.tar.bz2 |
Remove stray quote in os.replace docstring. (GH-11556)
-rw-r--r-- | Modules/clinic/posixmodule.c.h | 4 | ||||
-rw-r--r-- | Modules/posixmodule.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Modules/clinic/posixmodule.c.h b/Modules/clinic/posixmodule.c.h index d47618c..dc5f3b1 100644 --- a/Modules/clinic/posixmodule.c.h +++ b/Modules/clinic/posixmodule.c.h @@ -1250,7 +1250,7 @@ PyDoc_STRVAR(os_replace__doc__, " descriptor open to a directory, and the respective path string (src or dst)\n" " should be relative; the path will then be relative to that directory.\n" "src_dir_fd and dst_dir_fd, may not be implemented on your platform.\n" -" If they are unavailable, using them will raise a NotImplementedError.\""); +" If they are unavailable, using them will raise a NotImplementedError."); #define OS_REPLACE_METHODDEF \ {"replace", (PyCFunction)(void(*)(void))os_replace, METH_FASTCALL|METH_KEYWORDS, os_replace__doc__}, @@ -7339,4 +7339,4 @@ exit: #ifndef OS_GETRANDOM_METHODDEF #define OS_GETRANDOM_METHODDEF #endif /* !defined(OS_GETRANDOM_METHODDEF) */ -/*[clinic end generated code: output=d50ff73e5b5198b9 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=bb677205c036deca input=a9049054013a1b77]*/ diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 80add7d..5995958 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -4157,13 +4157,13 @@ If either src_dir_fd or dst_dir_fd is not None, it should be a file descriptor open to a directory, and the respective path string (src or dst) should be relative; the path will then be relative to that directory. src_dir_fd and dst_dir_fd, may not be implemented on your platform. - If they are unavailable, using them will raise a NotImplementedError." + If they are unavailable, using them will raise a NotImplementedError. [clinic start generated code]*/ static PyObject * os_replace_impl(PyObject *module, path_t *src, path_t *dst, int src_dir_fd, int dst_dir_fd) -/*[clinic end generated code: output=1968c02e7857422b input=25515dfb107c8421]*/ +/*[clinic end generated code: output=1968c02e7857422b input=c003f0def43378ef]*/ { return internal_rename(src, dst, src_dir_fd, dst_dir_fd, 1); } |