A marker class that signifies that the integer value should be serialized as `l` instead of `I`
| 51 | |
| 52 | |
| 53 | class long(int): |
| 54 | """ |
| 55 | A marker class that signifies that the integer value should be |
| 56 | serialized as `l` instead of `I` |
| 57 | """ |
| 58 | |
| 59 | def __str__(self) -> str: |
| 60 | return str(int(self)) |
| 61 | |
| 62 | def __repr__(self) -> str: |
| 63 | return str(self) + 'L' |
| 64 | |
| 65 | |
| 66 | def as_bytes(value: Union[str, bytes]) -> bytes: |
no outgoing calls
searching dependent graphs…