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
585775bf
Kaydet (Commit)
585775bf
authored
Haz 14, 2002
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Document the Binary.data attribute.
This closes SF bug #562878.
üst
9c92b69a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
libxmlrpclib.tex
Doc/lib/libxmlrpclib.tex
+13
-5
No files found.
Doc/lib/libxmlrpclib.tex
Dosyayı görüntüle @
585775bf
...
...
@@ -177,20 +177,28 @@ It also supports certain of Python's built-in operators through
\subsection
{
Binary Objects
\label
{
binary-objects
}}
This class may initialized from string data (which may include NULs).
It has the following methods, supported mainly for internal use by the
marshalling/unmarshalling cod
e:
The primary acess to the content of a
\class
{
Binary
}
object is
provided by an attribut
e:
\begin{methoddesc}
{
decode
}{
string
}
\begin{memberdesc}
[Binary]
{
data
}
The binary data encapsulated by the
\class
{
Binary
}
instance. The data
is provided as an 8-bit string.
\end{memberdesc}
\class
{
Binary
}
objects have the following methods, supported mainly
for internal use by the marshalling/unmarshalling code:
\begin{methoddesc}
[Binary]
{
decode
}{
string
}
Accept a base64 string and decode it as the instance's new data.
\end{methoddesc}
\begin{methoddesc}
{
encode
}{
out
}
\begin{methoddesc}
[Binary]
{
encode
}{
out
}
Write the XML-RPC base 64 encoding of this binary item to the out
stream object.
\end{methoddesc}
It also supports certain of Python's built-in operators through a
\method
{_
cmp
__}
method.
\method
{_
cmp
__
()
}
method.
\subsection
{
Fault Objects
\label
{
fault-objects
}}
...
...
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