thautwarm <yaoxiansa...@gmail.com> added the comment:
@Anthony > I don't think mypy has an annotation for "sometimes has an attribute" Yes.. The annotation for an attribute that **maybe exist** cannot be expressed by mypy.. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35001> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com