You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
module 'editor' has no attribute 'edit' with python3 #28
Traceback (most recent call last):
File "/home/leggewie/.PyCharmCE2019.2/config/scratches/editor.py", line 1, in
import editor
File "/home/leggewie/.PyCharmCE2019.2/config/scratches/editor.py", line 3, in
commit_msg = editor.edit(contents=b"# Enter commit message here")
AttributeError: module 'editor' has no attribute 'edit'
python3 -c 'import editor; editor.edit(contents=b"# Enter commit message here")' works fine and does not bring about #1, either.
Activity