PyDoc: correct use of back ticks for literal text

This commit is contained in:
Campbell Barton
2025-08-22 15:10:29 +10:00
parent 78c9d16919
commit e964f078b5
23 changed files with 100 additions and 95 deletions

View File

@@ -1448,7 +1448,7 @@ class HydraRenderEngine(RenderEngine):
def get_render_settings(self, engine_type: str):
"""
Provide render settings for `HdRenderDelegate`.
Provide render settings for ``HdRenderDelegate``.
"""
return {}
@@ -1510,9 +1510,9 @@ class GreasePencilDrawing(_StructRNA):
.. note::
When point/curves count of a drawing is changed, the slice returned by this
call prior to the change is no longer valid. You need to get the new stroke
slice via `drawing.strokes[n]`.
When point/curves count of a drawing is changed, the slice returned by this
call prior to the change is no longer valid. You need to get the new stroke
slice via ``drawing.strokes[n]``.
"""
from _bpy_internal.grease_pencil.stroke import GreasePencilStrokeSlice
num_strokes = self.attributes.domain_size('CURVE')