Skip to content

Commit

Permalink
doc: Fix SyntaxWarning: invalid escape sequence '\*' (#1372)
Browse files Browse the repository at this point in the history
The previous docstring caused InvalidEscapeSequence warnings with Python
3.12
  • Loading branch information
phorward authored Jan 21, 2025
1 parent 443c1c0 commit 370e8e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/viur/core/skeleton.py
Original file line number Diff line number Diff line change
Expand Up @@ -1760,8 +1760,7 @@ class RefSkel(RelSkel):
@classmethod
def fromSkel(cls, kindName: str, *args: list[str]) -> t.Type[RefSkel]:
"""
Creates a relSkel from a skeleton-class using only the bones explicitly named
in \*args
Creates a ``RefSkel`` from a skeleton-class using only the bones explicitly named in ``args``.
:param args: List of bone names we'll adapt
:return: A new instance of RefSkel
Expand Down

0 comments on commit 370e8e5

Please sign in to comment.