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
977a684c
Kaydet (Commit)
977a684c
authored
Agu 16, 2010
tarafından
Alexander Belopolsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #8983: Corrected docstrings.
üst
4a339ad6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
doctest.py
Lib/doctest.py
+1
-1
inspect.py
Lib/inspect.py
+1
-1
_threadmodule.c
Modules/_threadmodule.c
+1
-1
pwdmodule.c
Modules/pwdmodule.c
+3
-3
typeobject.c
Objects/typeobject.c
+2
-2
No files found.
Lib/doctest.py
Dosyayı görüntüle @
977a684c
...
...
@@ -1786,7 +1786,7 @@ def testmod(m=None, name=None, globs=None, verbose=None,
Return (#failures, #tests).
See
doctest.__doc__
for an overview.
See
help(doctest)
for an overview.
Optional keyword arg "name" gives the name of the module; by default
use m.__name__.
...
...
Lib/inspect.py
Dosyayı görüntüle @
977a684c
...
...
@@ -159,7 +159,7 @@ def isgeneratorfunction(object):
Generator function objects provides same attributes as functions.
See
isfunction.__doc__
for attributes listing."""
See
help(isfunction)
for attributes listing."""
return
bool
((
isfunction
(
object
)
or
ismethod
(
object
))
and
object
.
__code__
.
co_flags
&
CO_GENERATOR
)
...
...
Modules/_threadmodule.c
Dosyayı görüntüle @
977a684c
...
...
@@ -1078,7 +1078,7 @@ PyDoc_STRVAR(allocate_doc,
"allocate_lock() -> lock object
\n
\
(allocate() is an obsolete synonym)
\n
\
\n
\
Create a new lock object. See
LockType.__doc__
for information about locks."
);
Create a new lock object. See
help(LockType)
for information about locks."
);
static
PyObject
*
thread_get_ident
(
PyObject
*
self
)
...
...
Modules/pwdmodule.c
Dosyayı görüntüle @
977a684c
...
...
@@ -100,7 +100,7 @@ PyDoc_STRVAR(pwd_getpwuid__doc__,
"getpwuid(uid) -> (pw_name,pw_passwd,pw_uid,
\n
\
pw_gid,pw_gecos,pw_dir,pw_shell)
\n
\
Return the password database entry for the given numeric user ID.
\n
\
See
pwd.__doc__
for more on password database entries."
);
See
help(pwd)
for more on password database entries."
);
static
PyObject
*
pwd_getpwuid
(
PyObject
*
self
,
PyObject
*
args
)
...
...
@@ -121,7 +121,7 @@ PyDoc_STRVAR(pwd_getpwnam__doc__,
"getpwnam(name) -> (pw_name,pw_passwd,pw_uid,
\n
\
pw_gid,pw_gecos,pw_dir,pw_shell)
\n
\
Return the password database entry for the given user name.
\n
\
See
pwd.__doc__
for more on password database entries."
);
See
help(pwd)
for more on password database entries."
);
static
PyObject
*
pwd_getpwnam
(
PyObject
*
self
,
PyObject
*
args
)
...
...
@@ -152,7 +152,7 @@ PyDoc_STRVAR(pwd_getpwall__doc__,
"getpwall() -> list_of_entries
\n
\
Return a list of all available password database entries, \
in arbitrary order.
\n
\
See
pwd.__doc__
for more on password database entries."
);
See
help(pwd)
for more on password database entries."
);
static
PyObject
*
pwd_getpwall
(
PyObject
*
self
)
...
...
Objects/typeobject.c
Dosyayı görüntüle @
977a684c
...
...
@@ -2515,7 +2515,7 @@ static PyMethodDef type_methods[] = {
{
"__instancecheck__"
,
type___instancecheck__
,
METH_O
,
PyDoc_STR
(
"__instancecheck__() -> check if an object is an instance"
)},
{
"__subclasscheck__"
,
type___subclasscheck__
,
METH_O
,
PyDoc_STR
(
"__subclassch
ck__ -> check if an
class is a subclass"
)},
PyDoc_STR
(
"__subclassch
eck__() -> check if a
class is a subclass"
)},
{
0
}
};
...
...
@@ -5521,7 +5521,7 @@ static slotdef slotdefs[] = {
wrap_descr_delete
,
"descr.__delete__(obj)"
),
FLSLOT
(
"__init__"
,
tp_init
,
slot_tp_init
,
(
wrapperfunc
)
wrap_init
,
"x.__init__(...) initializes x; "
"see
x.__class__.__doc__
for signature"
,
"see
help(type(x))
for signature"
,
PyWrapperFlag_KEYWORDS
),
TPSLOT
(
"__new__"
,
tp_new
,
slot_tp_new
,
NULL
,
""
),
TPSLOT
(
"__del__"
,
tp_del
,
slot_tp_del
,
NULL
,
""
),
...
...
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