forked from VimPlug/jedi
Docs: Restructure API overview
This commit is contained in:
@@ -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
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user