Skip to content

Commit 809cb14

Browse files
Accept any number of arguments for __new__().
1 parent 59f4c65 commit 809cb14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wrapt/proxies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ObjectProxy(BaseObjectProxy):
1515
support for special dunder methods for callables, iterators, and async,
1616
then use `AutoObjectProxy`."""
1717

18-
def __new__(cls, wrapped):
18+
def __new__(cls, *args, **kwargs):
1919
return super().__new__(cls)
2020

2121
def __iter__(self):

0 commit comments

Comments
 (0)