Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
73d60023
Kaydet (Commit)
73d60023
authored
Şub 13, 2019
tarafından
Anthony Sottile
Kaydeden (comit)
Benjamin Peterson
Şub 13, 2019
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove stray quote in os.replace docstring. (GH-11556)
üst
b9d2e976
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
posixmodule.c.h
Modules/clinic/posixmodule.c.h
+2
-2
posixmodule.c
Modules/posixmodule.c
+2
-2
No files found.
Modules/clinic/posixmodule.c.h
Dosyayı görüntüle @
73d60023
...
...
@@ -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]*/
Modules/posixmodule.c
Dosyayı görüntüle @
73d60023
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment