kopia lustrzana https://github.com/c9/core
speed up,only "function" need "params"
when type is "module" or "class", then throw error , is very slowlypull/125/merge
rodzic
43b87cbe15
commit
bdda3f6fa7
|
@ -50,6 +50,7 @@ class Daemon(BaseHTTPRequestHandler):
|
|||
def to_json(mode, nodoc):
|
||||
include_pos = mode == "goto_definitions"
|
||||
def to_json(c):
|
||||
if c.type == "function":
|
||||
try:
|
||||
paramList = { p.description for p in c.params }
|
||||
params = ", ".join([p for p in paramList if p != None and p != "self"])
|
||||
|
|
Ładowanie…
Reference in New Issue