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
579f0380
Kaydet (Commit)
579f0380
authored
Kas 08, 2016
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #28585: Restored docstring of os._isdir().
üst
6ea2b8fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
posixmodule.c.h
Modules/clinic/posixmodule.c.h
+3
-2
posixmodule.c
Modules/posixmodule.c
+2
-4
No files found.
Modules/clinic/posixmodule.c.h
Dosyayı görüntüle @
579f0380
...
...
@@ -954,7 +954,8 @@ exit:
PyDoc_STRVAR
(
os__isdir__doc__
,
"_isdir($module, path, /)
\n
"
"--
\n
"
"
\n
"
);
"
\n
"
"Return true if the pathname refers to an existing directory."
);
#define OS__ISDIR_METHODDEF \
{"_isdir", (PyCFunction)os__isdir, METH_O, os__isdir__doc__},
...
...
@@ -5784,4 +5785,4 @@ exit:
#ifndef OS_SET_HANDLE_INHERITABLE_METHODDEF
#define OS_SET_HANDLE_INHERITABLE_METHODDEF
#endif
/* !defined(OS_SET_HANDLE_INHERITABLE_METHODDEF) */
/*[clinic end generated code: output=
9d5f831b23145d1
e input=a9049054013a1b77]*/
/*[clinic end generated code: output=
7690b72549d2524
e input=a9049054013a1b77]*/
Modules/posixmodule.c
Dosyayı görüntüle @
579f0380
...
...
@@ -3865,20 +3865,18 @@ os__getfinalpathname_impl(PyObject *module, PyObject *path)
return result;
}
PyDoc_STRVAR
(
posix__isdir__doc__
,
"Return true if the pathname refers to an existing directory."
);
/*[clinic input]
os._isdir
path: path_t
/
Return true if the pathname refers to an existing directory.
[clinic start generated code]*/
static PyObject *
os__isdir_impl(PyObject *module, path_t *path)
/*[clinic end generated code: output=75f56f32720836cb input=
e794f12faab62a2a
]*/
/*[clinic end generated code: output=75f56f32720836cb input=
5e0800149c0ad95f
]*/
{
DWORD attributes;
...
...
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