E. Paine <paineeli...@gmail.com> added the comment:
Both of the following cases give the correct popup help information: float.hex( And: t = type("test_hex", (), {"hex": lambda nothing: None}) t.hex( The reason your case fails is because IDLE doesn't evaluate `1.3` to a float and does indeed use the normal `hex` method help (as you established with your `list` test). ---------- nosy: +epaine _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41266> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com