Skip to content

AttributeError: module 'string' has no attribute 'rstrip' #37

@ghost

Description

$ pycscope -V
pycscope.py: Version 1.2.1
$ python -V
Python 3.7.3
pycscope -i ./cscope.files
Traceback (most recent call last):
  File "/usr/local/bin/pycscope", line 10, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/site-packages/pycscope/__init__.py", line 118, in main
    args.extend(list(map(string.rstrip, open(a, 'r').readlines())))
AttributeError: module 'string' has no attribute 'rstrip'

Metadata

Metadata

Assignees

Labels

bugpy3Or and related to Python 3 work

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions