File tree 2 files changed +12
-4
lines changed
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -213,8 +213,12 @@ def cleanup(name):
213
213
214
214
shortname = name [3 :]
215
215
names .append (shortname )
216
- func_info = abstract .Function (shortname ).info
217
- defaults , documentation = abstract ._get_defaults_and_docs (func_info )
216
+ try :
217
+ func_info = abstract .Function (shortname ).info
218
+ defaults , documentation = abstract ._get_defaults_and_docs (func_info )
219
+ except :
220
+ print ("cannot find defaults and docs for" , shortname , file = sys .stderr )
221
+ defaults , documentation = {}, ""
218
222
219
223
print ('@wraparound(False) # turn off relative indexing from end of lists' )
220
224
print ('@boundscheck(False) # turn off bounds-checking for entire function' )
Original file line number Diff line number Diff line change @@ -80,8 +80,12 @@ def cleanup(name):
80
80
81
81
shortname = name [3 :]
82
82
names .append (shortname )
83
- func_info = abstract .Function (shortname ).info
84
- defaults , documentation = abstract ._get_defaults_and_docs (func_info )
83
+ try :
84
+ func_info = abstract .Function (shortname ).info
85
+ defaults , documentation = abstract ._get_defaults_and_docs (func_info )
86
+ except :
87
+ print ("cannot find defaults and docs for" , shortname , file = sys .stderr )
88
+ defaults , documentation = {}, ""
85
89
86
90
print ('@wraparound(False) # turn off relative indexing from end of lists' )
87
91
print ('@boundscheck(False) # turn off bounds-checking for entire function' )
You can’t perform that action at this time.
0 commit comments