Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Python 3.5 AttributeError #1

Closed
zet4 opened this issue Nov 20, 2015 · 1 comment · May be fixed by #3
Closed

Windows Python 3.5 AttributeError #1

zet4 opened this issue Nov 20, 2015 · 1 comment · May be fixed by #3

Comments

@zet4
Copy link

zet4 commented Nov 20, 2015

C:\Users\Alex\AppData\Local\Programs\Python\Python35\python.exe C:/Users/Alex/Documents/Projects/playground/__init__.py
Traceback (most recent call last):
  File "C:/Users/Alex/Documents/Projects/playground/__init__.py", line 124, in <module>
    ('underline', '_'),
  File "C:/Users/Alex/Documents/Projects/playground/__init__.py", line 77, in __init__
    pattern.groups = len(rules) + 1
AttributeError: can't set attribute
@ghost
Copy link

ghost commented Jul 9, 2016

This script is for python 2. To use it in python 3, convert it through 2to3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant