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
1efbb0f0
Kaydet (Commit)
1efbb0f0
authored
Agu 16, 1994
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added docs for delattr
üst
91ab4a83
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
libfuncs.tex
Doc/lib/libfuncs.tex
+9
-0
libfuncs.tex
Doc/libfuncs.tex
+9
-0
No files found.
Doc/lib/libfuncs.tex
Dosyayı görüntüle @
1efbb0f0
...
@@ -51,6 +51,15 @@ exactly one argument.)
...
@@ -51,6 +51,15 @@ exactly one argument.)
if it consists of a single expression.
if it consists of a single expression.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
delattr
}{
object
\,
name
}
This is a relative of
\code
{
setattr
}
. The arguments are an
object and a string. The string must be the name
of one of the object's attributes. The function deletes
the named attribute, provided the object allows it. For example,
\code
{
setattr(
\var
{
x
}
, '
\var
{
foobar
}
')
}
is equivalent to
\code
{
del
\var
{
x
}
.
\var
{
foobar
}}
.
\end{funcdesc}
\begin{funcdesc}
{
dir
}{}
\begin{funcdesc}
{
dir
}{}
Without arguments, return the list of names in the current local
Without arguments, return the list of names in the current local
symbol table. With a module, class or class instance object as
symbol table. With a module, class or class instance object as
...
...
Doc/libfuncs.tex
Dosyayı görüntüle @
1efbb0f0
...
@@ -51,6 +51,15 @@ exactly one argument.)
...
@@ -51,6 +51,15 @@ exactly one argument.)
if it consists of a single expression.
if it consists of a single expression.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
delattr
}{
object
\,
name
}
This is a relative of
\code
{
setattr
}
. The arguments are an
object and a string. The string must be the name
of one of the object's attributes. The function deletes
the named attribute, provided the object allows it. For example,
\code
{
setattr(
\var
{
x
}
, '
\var
{
foobar
}
')
}
is equivalent to
\code
{
del
\var
{
x
}
.
\var
{
foobar
}}
.
\end{funcdesc}
\begin{funcdesc}
{
dir
}{}
\begin{funcdesc}
{
dir
}{}
Without arguments, return the list of names in the current local
Without arguments, return the list of names in the current local
symbol table. With a module, class or class instance object as
symbol table. With a module, class or class instance object as
...
...
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