Python 3.9 is now generally available.

google.appengine.datastore.datastore_stub_util.ReverseBitsInt64

Reverse the bits of a 64-bit integer.

v Input integer of type 'int' or 'long'.

Bit-reversed input as 'int' on 64-bit machines or as 'long' otherwise.