pySim.esim.saip: Fix docstring warnings:

this fixes the following two warnings:

pySim/esim/saip/__init__.py:docstring of pySim.esim.saip.FsNode.walk:1: WARNING: Inline strong start-string without end-string. [docutils]
pySim/esim/saip/__init__.py:docstring of pySim.esim.saip.FsNodeDF.walk:1: WARNING: Inline strong start-string without end-string. [docutils]

Change-Id: Id7debf9296923b735f76623808cee68967a1ece7
This commit is contained in:
Harald Welte
2026-02-09 11:43:22 +01:00
committed by laforge
parent 07a3978748
commit edfac26824

View File

@@ -2004,7 +2004,7 @@ class FsNode:
return x return x
def walk(self, fn, **kwargs): def walk(self, fn, **kwargs):
"""call 'fn(self, **kwargs) for the File.""" """call 'fn(self, ``**kwargs``) for the File."""
return [fn(self, **kwargs)] return [fn(self, **kwargs)]
class FsNodeEF(FsNode): class FsNodeEF(FsNode):
@@ -2094,7 +2094,7 @@ class FsNodeDF(FsNode):
return cur return cur
def walk(self, fn, **kwargs): def walk(self, fn, **kwargs):
"""call 'fn(self, **kwargs) for the DF and recursively for all children.""" """call 'fn(self, ``**kwargs``) for the DF and recursively for all children."""
ret = super().walk(fn, **kwargs) ret = super().walk(fn, **kwargs)
for c in self.children.values(): for c in self.children.values():
ret += c.walk(fn, **kwargs) ret += c.walk(fn, **kwargs)