Provide callable type for resolved dataclasses.replace/attr.assoc/attr.evolve (PY-37678)

It is used while inferring call type.

GitOrigin-RevId: 7cab8246784307328c83c956f2d1644a1e4296c8
This commit is contained in:
Semyon Proshev
2019-11-18 20:44:44 +03:00
committed by intellij-monorepo-bot
parent 145d86061c
commit 2cff147ca9
4 changed files with 212 additions and 166 deletions

View File

@@ -0,0 +1,7 @@
def dataclass(_cls=None, *, init=True, repr=True, eq=True, order=False,
unsafe_hash=False, frozen=False):
pass
def replace(obj, **changes):
pass