int64 β Tools for representing BSON int64 (original) (raw)
Toggle table of contents sidebar
Added in version 3.0.
A BSON wrapper for long (int in python3)
class bson.int64.Int64ΒΆ
Representation of the BSON int64 type.
This is necessary because every integral number is an int in Python 3. Small integral numbers are encoded to BSON int32 by default, but Int64 numbers will always be encoded to BSON int64.
Parameters:
value β the numeric value to represent