mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
validation fiddling
This commit is contained in:
@@ -136,11 +136,11 @@ mark{display:inline}
|
||||
>>> root.attrib
|
||||
{'{http://www.w3.org/XML/1998/namespace}lang': 'en'}
|
||||
>>> root[4]
|
||||
<Element {http://www.w3.org/2005/Atom}link at e181b0>
|
||||
<Element {http://www.w3.org/2005/Atom}link at e181b0>
|
||||
>>> root[4].attrib
|
||||
{'href': 'http://diveintomark.org/', 'type': 'text/html', 'rel': 'alternate'}
|
||||
>>> root[3]
|
||||
<Element {http://www.w3.org/2005/Atom}updated at e2b4e0>
|
||||
<Element {http://www.w3.org/2005/Atom}updated at e2b4e0>
|
||||
>>> root[3].attrib
|
||||
{}
|
||||
</pre>
|
||||
|
||||
Reference in New Issue
Block a user