Add type hint for _extra_repr (#1948)

This commit is contained in:
Chunyang Wen
2025-03-10 21:05:36 +08:00
committed by GitHub
parent 048805ad2c
commit cffceda6ee

View File

@@ -81,7 +81,7 @@ class Module(dict):
"""
return self
def _extra_repr(self):
def _extra_repr(self) -> str:
return ""
def __repr__(self):