##// END OF EJS Templates
Backport PR #2685: Fix pretty print of types when `__module__` is not available....
Backport PR #2685: Fix pretty print of types when `__module__` is not available. In Python 3, heap allocated types -- for example those created using PyType_FromSpec -- lack the `__module__` attribute. Closes #2684

File last commit:

r6547:cca0bfa1
r9848:2c829199
Show More
nonascii.py
5 lines | 175 B | text/x-python | PythonLexer
# coding: iso-8859-5
# (Unlikely to be the default encoding for most testers.)
# ������������������� <- Cyrillic characters
from __future__ import unicode_literals
u = '����'