ramalho <luci...@ramalho.org> added the comment:

This is my proposal for sections to replace the existing "Classes, functions, 
and decorators" section. The names are sorted within each section.

# Special typing primitives     
        Any
        Callable
        ClassVar
        ForwardRef
        Generic
        Literal
        NamedTuple
        NewType
        NoReturn
        Optional
        Type
        TypedDict
        TypeVar
        Union

# Generic ABCs  
        AbstractSet
        AsyncContextManager
        AsyncGenerator
        AsyncIterable
        AsyncIterator
        Awaitable
        ByteString
        Collection
        Container
        ContextManager
        Coroutine
        Generator
        Hashable
        io.IO
        io.BytesIO
        io.TextIO
        ItemsView
        Iterable
        Iterator
        KeysView
        Mapping
        MappingView
        MutableMapping
        MutableSequence
        MutableSet
        re.Pattern
        re.Match
        Sequence
        Sized
        ValuesView      

# Generic Concrete Collections  
        ChainMap
        Counter
        DefaultDict
        Deque
        Dict
        FrozenSet
        List
        OrderedDict
        Set
        Tuple

# Structural checks, a.k.a. protocols.  
        Reversible
        SupportsAbs
        SupportsBytes
        SupportsComplex
        SupportsFloat
        SupportsInt
        SupportsRound   

# Functions and decorators      
        cast
        final
        get_args
        get_origin
        get_type_hints
        no_type_check
        no_type_check_decorator
        overload
        runtime_checkable
        type_check_only
        
# Aliases and constants 
        AnyStr
        Text
        TYPE_CHECKING

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40979>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to