mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-30 21:55:21 +08:00
Add a repr for Project
Also remove setstate from it, since we intend to serialize it with json.
This commit is contained in:
@@ -110,8 +110,8 @@ class Project(object):
|
||||
|
||||
return self._environment
|
||||
|
||||
def __setstate__(self, state):
|
||||
self.__dict__.update(state)
|
||||
def __repr__(self):
|
||||
return '<%s: %s>' % (self.__class__.__name__, self._path)
|
||||
|
||||
|
||||
def _is_potential_project(path):
|
||||
|
||||
Reference in New Issue
Block a user