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
f0b095d8
Kaydet (Commit)
f0b095d8
authored
Tem 17, 2002
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added documentation for the buffer_text and related attributes of the
xmlparser object provided by pyexpat, new in Python 2.3.
üst
5c3ed3db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
libpyexpat.tex
Doc/lib/libpyexpat.tex
+23
-0
No files found.
Doc/lib/libpyexpat.tex
Dosyayı görüntüle @
f0b095d8
...
...
@@ -159,6 +159,29 @@ values of this parser.
\class
{
xmlparser
}
objects have the following attributes:
\begin{memberdesc}
[xmlparser]
{
buffer
_
size
}
The size of the buffer used when
\member
{
buffer
_
text
}
is true. This
value cannot be changed at this time.
\versionadded
{
2.3
}
\end{memberdesc}
\begin{memberdesc}
[xmlparser]
{
buffer
_
text
}
Setting this to true causes the
\class
{
xmlparser
}
object to buffer
textual content returned by Expat to avoid multiple calls to the
\method
{
CharacterDataHandler()
}
callback whenever possible. This can
improve performance substantially since Expat normally breaks
character data into chunks at every line ending. This attribute is
false by default, and may be changed at any time.
\versionadded
{
2.3
}
\end{memberdesc}
\begin{memberdesc}
[xmlparser]
{
buffer
_
used
}
If
\member
{
buffer
_
text
}
is enabled, the number of bytes stored in the
buffer. These bytes represent UTF-8 encoded text. This attribute has
no meaningful interpretation when
\member
{
buffer
_
text
}
is false.
\versionadded
{
2.3
}
\end{memberdesc}
\begin{memberdesc}
[xmlparser]
{
ordered
_
attributes
}
Setting this attribute to a non-zero integer causes the attributes to
be reported as a list rather than a dictionary. The attributes are
...
...
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