Skip to content

TypeVar stub is incorrect #2882

@peterhal

Description

@peterhal

https://github.com/python/typeshed/blob/master/stdlib/3/typing.pyi#L13

Should be something like:

class TypeVar(object):
   __name__: str
  def __init__(self, name: str) -> None: ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions