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
674deb2e
Kaydet (Commit)
674deb2e
authored
Eyl 01, 2002
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SF bug 601775 - some int results that should be bool.
üst
29a6d449
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
cStringIO.c
Modules/cStringIO.c
+2
-1
posixmodule.c
Modules/posixmodule.c
+1
-1
No files found.
Modules/cStringIO.c
Dosyayı görüntüle @
674deb2e
...
...
@@ -133,7 +133,8 @@ IO_isatty(IOobject *self, PyObject *args) {
UNLESS
(
PyArg_ParseTuple
(
args
,
":isatty"
))
return
NULL
;
return
PyInt_FromLong
(
0
);
Py_INCREF
(
Py_False
);
return
Py_False
;
}
PyDoc_STRVAR
(
IO_read__doc__
,
...
...
Modules/posixmodule.c
Dosyayı görüntüle @
674deb2e
...
...
@@ -756,7 +756,7 @@ posix_access(PyObject *self, PyObject *args)
Py_BEGIN_ALLOW_THREADS
res
=
access
(
path
,
mode
);
Py_END_ALLOW_THREADS
return
(
Py
Int_FromLong
(
res
==
0
?
1L
:
0L
));
return
(
Py
Bool_FromLong
(
res
==
0
));
}
#ifndef F_OK
...
...
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