##// END OF EJS Templates
Fix bug with unicode formatting of definition lines.
Fernando Perez -
Show More
@@ -207,7 +207,9 b' class Inspector:'
207 207 exception is suppressed."""
208 208
209 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 213 except:
212 214 return None
213 215
General Comments 0
You need to be logged in to leave comments. Login now