From 25480614a0c3abfd60139207e5f9e0cdb88e6177 Mon Sep 17 00:00:00 2001 From: Marek Materzok Date: Fri, 8 Mar 2024 18:39:18 +0100 Subject: [PATCH] Fix docstring --- coreblocks/peripherals/wishbone.py | 1 + 1 file changed, 1 insertion(+) diff --git a/coreblocks/peripherals/wishbone.py b/coreblocks/peripherals/wishbone.py index de6f37f98..ebd5dc377 100644 --- a/coreblocks/peripherals/wishbone.py +++ b/coreblocks/peripherals/wishbone.py @@ -53,6 +53,7 @@ def __init__(self, wb_params: WishboneParameters): ) def create(self, *, path: tuple[str | int, ...] = (), src_loc_at: int = 0): + """Create a WishboneInterface.""" # workaround for Sphinx problem with Amaranth docstring return cast(WishboneInterface, PureInterface(self, path=path, src_loc_at=src_loc_at + 1))