PyDoc: include buffer access in examples, cleanup

Note that buffer access is possible, also minor mathutils test cleanup.
This commit is contained in:
Campbell Barton
2025-08-16 17:38:20 +10:00
parent e297fb4f14
commit 990f0863e8
6 changed files with 22 additions and 6 deletions

View File

@@ -53,3 +53,6 @@ vec.xyz = vec.zyx
vec.xy = vec4d.zw
vec.xyz = vec4d.wzz
vec4d.wxyz = vec.yxyx
# Direct buffer access is supported.
raw_data = memoryview(vec).tobytes()