From 4c547fc4f62b5328358f58a552ea34df6d0493c3 Mon Sep 17 00:00:00 2001 From: Jukka Lehtosalo Date: Sun, 29 Nov 2015 12:18:42 -0800 Subject: [PATCH] Add object.__new__ Not entirely sure about the right signature, though. --- builtins/3/builtins.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/builtins/3/builtins.pyi b/builtins/3/builtins.pyi index 32ea71f2a..be76c5700 100644 --- a/builtins/3/builtins.pyi +++ b/builtins/3/builtins.pyi @@ -30,6 +30,7 @@ class object: __class__ = ... # type: type def __init__(self) -> None: ... + def __new__(cls) -> Any: ... def __eq__(self, o: object) -> bool: ... def __ne__(self, o: object) -> bool: ... def __str__(self) -> str: ...