Skip to content

Regression in classmethod override #5259

Closed

Description

@ilevkivskyi

This test currently fails, likely because of #5224 (but I didn't bisect).

[case testClassMethodOverride]
from typing import Callable, Any

def deco(f: Callable[..., Any]) -> Callable[..., Any]: ...

class B:
    @classmethod
    def meth(cls, x: int) -> int: ...

class C(B):
    @classmethod
    @deco
    def meth(cls, x: int) -> int: ...
[builtins fixtures/classmethod.pyi]
[out]

Activity

  1. self-assigned this
    on Jun 21, 2018
  2. added a commit that references this issue on Jun 21, 2018
    a55635d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions