1. Python CFFI
  2. Untitled project
  3. cffi

Commits

Armin Rigo  committed f154db4

Use a relative import.

  • Participants
  • Parent commits 95cea55
  • Branches default

Comments (0)

Files changed (1)

File cffi/cparser.py

View file
  • Ignore whitespace
 from . import api, model
 from .commontypes import COMMON_TYPES, resolve_common_type
 try:
-    from cffi import _pycparser as pycparser
+    from . import _pycparser as pycparser
 except ImportError:
     import pycparser
 import weakref, re, sys