abstractmethod should just pass params

This commit is contained in:
Dave Halter
2018-08-26 13:23:49 +02:00
parent 10bc446255
commit 05d07c23ab

View File

@@ -331,4 +331,9 @@ _implemented = {
'collections': {
'namedtuple': collections_namedtuple,
},
'abc': {
# Not sure if this is necessary, but it's used a lot in typeshed and
# it's for now easier to just pass the function.
'abstractmethod': _return_first_param,
}
}