1
0
forked from VimPlug/jedi

Docs: Restructure API overview

This commit is contained in:
Dave Halter
2020-03-14 14:28:06 +01:00
parent 50af2650bb
commit 13254a30df
3 changed files with 48 additions and 26 deletions
+1
View File
@@ -43,6 +43,7 @@ from jedi.api.environment import find_virtualenvs, find_system_environments, \
get_system_environment, InterpreterEnvironment
from jedi.api.project import Project, get_default_project
from jedi.api.exceptions import InternalError, RefactoringError
# Finally load the internal plugins. This is only internal.
from jedi.plugins import registry
del registry
+9 -1
View File
@@ -1,3 +1,6 @@
"""
Projects
"""
import os
import errno
import json
@@ -56,6 +59,9 @@ def _force_unicode_list(lst):
class Project(object):
"""
XXX
"""
_environment = None
@staticmethod
@@ -199,7 +205,9 @@ class Project(object):
def complete_search(self, string, **kwargs):
"""
XXX
:yields: :class:`.Completion`
"""
return self._search_func(string, complete=True, **kwargs)