Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Sphinx / tests / roots / test-ext-autodoc / target / generic_class.py
Size: Mime:
from typing import Generic, TypeVar

T = TypeVar('T')


# Test that typing.Generic's __new__ method does not mask our class'
# __init__ signature.
class A(Generic[T]):
    """docstring for A"""
    def __init__(self, a, b=None):
        pass