bpo-33187: Document ElementInclude (XInclude) support in ElementTree (GH-8861)

This commit is contained in:
Anjali Bansal 2019-09-11 19:39:53 +05:30 committed by Stefan Behnel
parent 1660a61a10
commit 97b817eae3
2 changed files with 92 additions and 0 deletions

View file

@ -333,6 +333,9 @@ library/xml.etree.elementtree,,:character,<fictional:character>Commander Clement
library/xml.etree.elementtree,,:actor,"for actor in root.findall('real_person:actor', ns):"
library/xml.etree.elementtree,,:name,"name = actor.find('real_person:name', ns)"
library/xml.etree.elementtree,,:character,"for char in actor.findall('role:character', ns):"
library/xml.etree.elementtree,,:xi,<document xmlns:xi="http://www.w3.org/2001/XInclude">
library/xml.etree.elementtree,,:include, <xi:include href="source.xml" parse="xml" />
library/xml.etree.elementtree,,:include, Copyright (c) <xi:include href="year.txt" parse="text" />.
library/zipapp,,:main,"$ python -m zipapp myapp -m ""myapp:main"""
library/zipapp,,:fn,"pkg.mod:fn"
library/zipapp,,:callable,"pkg.module:callable"

Can't render this file because it contains an unexpected character in line 336 and column 55.