STINNER Victor added the comment: I don't know what "at" of "bits_at()" comes from. It's rarely used in Python:
Lib/asynchat.py:def find_prefix_at_end(haystack, needle): Lib/asyncio/test_utils.py: def call_at(self, when, callback, *args): Lib/asyncio/base_events.py: def call_at(self, when, callback, *args): Lib/asyncio/events.py: def call_at(self, when, callback, *args): Lib/ctypes/__init__.py:def string_at(ptr, size=-1): Lib/ctypes/__init__.py: def wstring_at(ptr, size=-1): Lib/idlelib/EditorWindow.py: def move_at_edge_if_selection(self, edge_index): Lib/idlelib/EditorWindow.py: def move_at_edge(event): I prefer just "bits": int.bits(bit, nbits=1). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19915> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com