When I look at the "format" field for a complex double NumPy object, I see "Zd":
>>> import numpy as np
>>> ac = np.array([[1,2]], dtype=complex)
>>> memoryview(ac).format
'Zd'
However, I don't see "Z" mentioned in the official Python documentation for "struct", and I have also been unable to find it in the NumPy documentation, though it's possibly I simply missed it because I couldn't think of anything more likely to find relevant hits than the terms "complex", "Z", and "format", all of which bring up a lot of irrelevant information. Could anyone point me to relevant documentation and/or give me their own description?