Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c5c45ba3
Commit
c5c45ba3
authored
Aug 21, 2006
by
Alex Martelli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use proper py3k syntax for relative import (from . import foo)
parent
fe25e236
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Lib/xml/etree/ElementInclude.py
Lib/xml/etree/ElementInclude.py
+1
-1
Lib/xml/etree/ElementTree.py
Lib/xml/etree/ElementTree.py
+2
-1
No files found.
Lib/xml/etree/ElementInclude.py
View file @
c5c45ba3
...
...
@@ -49,7 +49,7 @@
##
import
copy
import
ElementTree
from
.
import
ElementTree
XINCLUDE
=
"{http://www.w3.org/2001/XInclude}"
...
...
Lib/xml/etree/ElementTree.py
View file @
c5c45ba3
...
...
@@ -133,9 +133,10 @@ class _SimpleElementPath:
return
result
try
:
import
ElementPath
from
.
import
ElementPath
except
ImportError
:
# FIXME: issue warning in this case?
# TODO: DEFINITELY issue warning here!!!
ElementPath
=
_SimpleElementPath
()
# TODO: add support for custom namespace resolvers/default namespaces
...
...
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