##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
safehasattr: pass attribute name as string instead of bytes This is a step toward replacing `util.safehasattr` usage with plain `hasattr`. The builtin function behave poorly in Python2 but this was fixed in Python3. These change are done one by one as they tend to have a small odd to trigger puzzling breackage.

File last commit:

r50538:e1c586b9 default
r51502:90945014 default
Show More
_version_info.pyi
9 lines | 209 B | text/x-python | PythonLexer
class VersionInfo:
@property
def year(self) -> int: ...
@property
def minor(self) -> int: ...
@property
def micro(self) -> int: ...
@property
def releaselevel(self) -> str: ...