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

AttributeError: 'ModuleAnalyzer' object has no attribute 'tokenize' #4754

Closed
zaufi opened this issue Mar 18, 2018 · 1 comment
Closed

AttributeError: 'ModuleAnalyzer' object has no attribute 'tokenize' #4754

zaufi opened this issue Mar 18, 2018 · 1 comment

Comments

@zaufi
Copy link

zaufi commented Mar 18, 2018

ma.tokenize() # type: ignore

Traceback (most recent call last):
  File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/dev/shm/dev-python-sphinx-1.7.0/work/Sphinx-1.7.0-python3_6/lib/sphinx/pycode/__init__.py", line 129, in <module>
    ma.tokenize()
AttributeError: 'ModuleAnalyzer' object has no attribute 'tokenize'
@tk0miya tk0miya added this to the 1.7.2 milestone Mar 19, 2018
tk0miya added a commit that referenced this issue Mar 19, 2018
Fix #4754: sphinx/pycode/__init__.py raises AttributeError
@tk0miya
Copy link
Member

tk0miya commented Mar 19, 2018

I removed the code by #4756.
Thank you for reporting!

@tk0miya tk0miya closed this as completed Mar 19, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants