Skip to content
Browse files

avoid namespace pollution

  • Loading branch information...
1 parent ff1ba90 commit f9ad4cf7844b1c69827514bff18eb153b569c82f @scoder scoder committed Aug 23, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/lxml/__init__.py
View
3 src/lxml/__init__.py
@@ -1,13 +1,12 @@
# this is a package
-import os
-
def get_include():
"""
Returns a list of header include paths (for lxml itself, libxml2
and libxslt) needed to compile C code against lxml if it was built
with statically linked libraries.
"""
+ import os
lxml_path = __path__[0]
include_path = os.path.join(lxml_path, 'includes')
includes = [include_path, lxml_path]

0 comments on commit f9ad4cf

Please sign in to comment.
Something went wrong with that request. Please try again.