summaryrefslogtreecommitdiff
path: root/bindings/python/clang/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/python/clang/__init__.py')
-rw-r--r--bindings/python/clang/__init__.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/bindings/python/clang/__init__.py b/bindings/python/clang/__init__.py
index fba49e38c9..88f3081238 100644
--- a/bindings/python/clang/__init__.py
+++ b/bindings/python/clang/__init__.py
@@ -20,13 +20,5 @@ The available modules are:
Bindings for the Clang indexing library.
"""
-
-# Python 3 uses unicode for strings. The bindings, in particular the interaction
-# with ctypes, need modifying to handle conversions between unicode and
-# c-strings.
-import sys
-if sys.version_info[0] != 2:
- raise Exception("Only Python 2 is supported.")
-
__all__ = ['cindex']