pattern3 / pattern

Goal: make Pattern compatible with Python 3.
http://www.clips.ua.ac.be/pages/pattern
BSD 3-Clause "New" or "Revised" License
59 stars 35 forks source link

try: izip IndentationError: expected an indented block #49

Open AmmarRashed opened 4 years ago

AmmarRashed commented 4 years ago

Hi, in pattern3/text/tree.py line 36 is missing izip

it is written as

try:

except:
    izip = zip  # Python 3

while it should be

try:
    izip
except:
    izip = zip  # Python 3