Skip to content

Commit

Permalink
lispy-python.py (arglist_retrieve): Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
abo-abo committed Apr 20, 2017
1 parent 2fc562d commit 4336326
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lispy-python.py
Expand Up @@ -21,10 +21,8 @@
import inspect
try:
import jedi
import ast
from codegen import to_source
except:
print ("failed to load some modules in lispy-python.py")
print ("failed to load jedi")

def arglist_retrieve_java (method):
name = method.__name__
Expand All @@ -46,7 +44,7 @@ def arglist_retrieve (sym):
keywords = res.kwonlydefaults)
else:
try:
return inspect.getargspec (inspect.getargspec)
return inspect.getargspec (sym)
except TypeError as er:
print (er.message)

Expand Down

0 comments on commit 4336326

Please sign in to comment.