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
45839901
Kaydet (Commit)
45839901
authored
Ock 13, 2013
tarafından
Eli Bendersky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clean trailing whitespace in _elementtree.c
üst
0e5c48a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
_elementtree.c
Modules/_elementtree.c
+4
-4
No files found.
Modules/_elementtree.c
Dosyayı görüntüle @
45839901
...
@@ -310,7 +310,7 @@ element_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
...
@@ -310,7 +310,7 @@ element_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
/* Helper function for extracting the attrib dictionary from a keywords dict.
/* Helper function for extracting the attrib dictionary from a keywords dict.
* This is required by some constructors/functions in this module that can
* This is required by some constructors/functions in this module that can
* either accept attrib as a keyword argument or all attributes splashed
* either accept attrib as a keyword argument or all attributes splashed
* directly into *kwds.
* directly into *kwds.
* If there is no 'attrib' keyword, return an empty dict.
* If there is no 'attrib' keyword, return an empty dict.
*/
*/
...
@@ -1977,7 +1977,7 @@ static PyObject *
...
@@ -1977,7 +1977,7 @@ static PyObject *
elementiter_next
(
ElementIterObject
*
it
)
elementiter_next
(
ElementIterObject
*
it
)
{
{
/* Sub-element iterator.
/* Sub-element iterator.
*
*
* A short note on gettext: this function serves both the iter() and
* A short note on gettext: this function serves both the iter() and
* itertext() methods to avoid code duplication. However, there are a few
* itertext() methods to avoid code duplication. However, there are a few
* small differences in the way these iterations work. Namely:
* small differences in the way these iterations work. Namely:
...
@@ -3039,7 +3039,7 @@ expat_comment_handler(XMLParserObject* self, const XML_Char* comment_in)
...
@@ -3039,7 +3039,7 @@ expat_comment_handler(XMLParserObject* self, const XML_Char* comment_in)
}
}
}
}
static
void
static
void
expat_start_doctype_handler
(
XMLParserObject
*
self
,
expat_start_doctype_handler
(
XMLParserObject
*
self
,
const
XML_Char
*
doctype_name
,
const
XML_Char
*
doctype_name
,
const
XML_Char
*
sysid
,
const
XML_Char
*
sysid
,
...
@@ -3244,7 +3244,7 @@ xmlparser_init(PyObject *self, PyObject *args, PyObject *kwds)
...
@@ -3244,7 +3244,7 @@ xmlparser_init(PyObject *self, PyObject *args, PyObject *kwds)
self_xp
->
handle_doctype
=
PyObject_GetAttrString
(
target
,
"doctype"
);
self_xp
->
handle_doctype
=
PyObject_GetAttrString
(
target
,
"doctype"
);
PyErr_Clear
();
PyErr_Clear
();
/* configure parser */
/* configure parser */
EXPAT
(
SetUserData
)(
self_xp
->
parser
,
self_xp
);
EXPAT
(
SetUserData
)(
self_xp
->
parser
,
self_xp
);
EXPAT
(
SetElementHandler
)(
EXPAT
(
SetElementHandler
)(
...
...
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