Skip to content

Commit 8896b4a

Browse files
committed
refactor(typing): remove unnecessary @overload
1 parent ceba115 commit 8896b4a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

python/pythonmonkey/pythonmonkey.pyi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ stub file for type hints & documentations for the native module
55

66
import typing as _typing
77

8-
@_typing.overload
8+
# pylint: disable=redefined-builtin
99
def eval(code: str) -> _typing.Any:
1010
"""
1111
JavaScript evaluator in Python
1212
"""
1313

14-
@_typing.overload
1514
def collect() -> None:
1615
"""
1716
Calls the spidermonkey garbage collector

0 commit comments

Comments
 (0)