diff --git a/eth_portfolio/structs.py b/eth_portfolio/structs.py index bfbf097e..120e33ed 100644 --- a/eth_portfolio/structs.py +++ b/eth_portfolio/structs.py @@ -118,7 +118,7 @@ def __init_subclass__(cls, **kwargs): # Replace {cls_name} in attribute-level docstrings for key, attr in cls.__dict__.items(): if attr.__doc__ and "{cls_name}" in attr.__doc__: - attr.__doc__ = attr.__doc__.replace("{cls_name}", cls.__name__)) + attr.__doc__ = attr.__doc__.replace("{cls_name}", cls.__name__) class AccessListEntry(Struct, frozen=True):