-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I get this error when I type import structfmt:
scalpel:~ miguel$ python
Python 2.7.12 (default, Oct 11 2016, 05:20:59)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.38)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import structfmt
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/site-packages/structfmt/__init__.py", line 2, in <module>
from .structfmt import struct_format, struct_named_format
File "/usr/local/lib/python2.7/site-packages/structfmt/structfmt.py", line 2, in <module>
from .StructNamedFormatter import StructNamedFormatter
File "/usr/local/lib/python2.7/site-packages/structfmt/StructNamedFormatter.py", line 79
def bool(self, *fields, mapper=None):
^
SyntaxError: invalid syntax
Metadata
Metadata
Assignees
Labels
No labels