PyDoc: use complete sentences in comments for templates & examples

This commit is contained in:
Campbell Barton
2025-04-02 23:46:58 +00:00
parent d001e143a9
commit b2c57fd877
58 changed files with 181 additions and 179 deletions

View File

@@ -104,11 +104,11 @@ Here are some examples:
.. code-block:: python
# in this example the active vertex group index is used,
# this is stored in the object, not the BMesh
# In this example the active vertex group index is used,
# this is stored in the object, not the `BMesh`.
group_index = obj.vertex_groups.active_index
# only ever one deform weight layer
# Only ever one deform weight layer.
dvert_lay = bm.verts.layers.deform.active
for vert in bm.verts: