mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-18 01:50:16 +08:00
Add type hint for _extra_repr (#1948)
This commit is contained in:
@@ -81,7 +81,7 @@ class Module(dict):
|
||||
"""
|
||||
return self
|
||||
|
||||
def _extra_repr(self):
|
||||
def _extra_repr(self) -> str:
|
||||
return ""
|
||||
|
||||
def __repr__(self):
|
||||
|
Reference in New Issue
Block a user