MCPcopy Index your code
hub / github.com/python/cpython / BEPoint

Class BEPoint

Lib/test/test_buffer.py:2837–2838  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2835 if ctypes:
2836 # format: "T{>l:x:>d:y:}"
2837 class BEPoint(ctypes.BigEndianStructure):
2838 _fields_ = [("x", ctypes.c_long), ("y", ctypes.c_double)]
2839 point = BEPoint(100, 200.1)
2840 m1 = memoryview(point)
2841 m2 = m1.cast('B')

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…