fix explain.py
This commit is contained in:
parent
c04387d180
commit
a07333cbad
|
@ -7,6 +7,8 @@ def explain(inp):
|
||||||
if not inp:
|
if not inp:
|
||||||
return explain.__doc__
|
return explain.__doc__
|
||||||
|
|
||||||
|
inp = inp.encode('utf8', 'ignore')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
result = explain_c_declaration(inp.rstrip())
|
result = explain_c_declaration(inp.rstrip())
|
||||||
except e:
|
except e:
|
||||||
|
|
Loading…
Reference in New Issue