Skip to content

Commit ff8256b

Browse files
MarkDaoustcopybara-github
authored andcommitted
Remove incorrect type annotation.
PiperOrigin-RevId: 404338838
1 parent 3f44efa commit ff8256b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/tensorflow_docs/api_generator/parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1824,8 +1824,8 @@ def __init__(self, *, full_name: str, py_object: Any, **kwargs) -> None:
18241824
self._signature = None
18251825

18261826
@property
1827-
def signature(self) -> None:
1828-
return self._signature # pytype: disable=bad-return-type # bind-properties
1827+
def signature(self):
1828+
return self._signature
18291829

18301830
def _custom_join(self, args: List[str], origin: str) -> str:
18311831
"""Custom join for Callable and other type hints.

0 commit comments

Comments
 (0)