]> granicus.if.org Git - python/commit
Get rid of ugly code duplication for ElementTree.parse when the accelerator
authorEli Bendersky <eliben@gmail.com>
Mon, 20 May 2013 01:47:23 +0000 (18:47 -0700)
committerEli Bendersky <eliben@gmail.com>
Mon, 20 May 2013 01:47:23 +0000 (18:47 -0700)
commita369923cab024889e638db781b7495533d1a1e77
tree712728a970cc18bbc00ec76e3e404ae23c2a258a
parente26fa1bdcbbffd5986630144a2e15795c5f83a19
Get rid of ugly code duplication for ElementTree.parse when the accelerator
is imported. Instead, ElementTree.parse can look for a special internal method
defined by the accelerator.
Lib/xml/etree/ElementTree.py
Modules/_elementtree.c