diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-29 12:59:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-29 13:01:10 +0300 |
commit | 778542fd8fe80f87286d36bb4005314a8343e038 (patch) | |
tree | 272d34c618e9cc07b0bac3fc87b6801e3908daa4 /source/blender/python/mathutils/mathutils_Vector.c | |
parent | c7f67d60fbe24df942bcde49aadf480ac6622e71 (diff) |
Cleanup: comments (long lines) in python
Diffstat (limited to 'source/blender/python/mathutils/mathutils_Vector.c')
-rw-r--r-- | source/blender/python/mathutils/mathutils_Vector.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/python/mathutils/mathutils_Vector.c b/source/blender/python/mathutils/mathutils_Vector.c index 7d73f165c1e..29861c56dc0 100644 --- a/source/blender/python/mathutils/mathutils_Vector.c +++ b/source/blender/python/mathutils/mathutils_Vector.c @@ -2377,12 +2377,15 @@ static PyObject *Vector_length_squared_get(VectorObject *self, void *UNUSED(clos * '((%s | SWIZZLE_VALID_AXIS) | ' * '((%s | SWIZZLE_VALID_AXIS) << SWIZZLE_BITS_PER_AXIS) | ' * '((%s | SWIZZLE_VALID_AXIS) << (SWIZZLE_BITS_PER_AXIS * 2)) | ' - * '((%s | SWIZZLE_VALID_AXIS) << (SWIZZLE_BITS_PER_AXIS * 3))) ' % + * '((%s | SWIZZLE_VALID_AXIS) << (SWIZZLE_BITS_PER_AXIS * 3))) ' + * % * (axis_0_pos, axis_1_pos, axis_2_pos, axis_3_pos)) * * axises = axises[:-1] * items = list(axis_dict.items()) - * items.sort(key=lambda a: a[0].replace('x', '0').replace('y', '1').replace('z', '2').replace('w', '3')) + * items.sort( + * key=lambda a: a[0].replace('x', '0').replace('y', '1').replace('z', '2').replace('w', '3') + * ) * * unique = set() * for key, val in items: |