##// END OF EJS Templates
Fix bug with unicode formatting of definition lines.
Fernando Perez -
Show More
@@ -207,7 +207,9 b' class Inspector:'
207 exception is suppressed."""
207 exception is suppressed."""
208
208
209 try:
209 try:
210 return oname + inspect.formatargspec(*getargspec(obj))
210 # We need a plain string here, NOT unicode!
211 hdef = oname + inspect.formatargspec(*getargspec(obj))
212 return hdef.encode('ascii')
211 except:
213 except:
212 return None
214 return None
213
215
General Comments 0
You need to be logged in to leave comments. Login now