Staging
v0.5.1
https://github.com/python/cpython
Revision 900b9851ff93c695300af69cf5f2793a6750f781 authored by Miss Islington (bot) on 27 September 2020, 19:42:29 UTC, committed by Łukasz Langa on 04 October 2020, 15:30:48 UTC

This shows users that they can use the actual types. Using deprecated types is confusing.

This also prefers colections.abc.Sized instead of the alias typing.Sized. I guess the aliases were created to make it convenient to import all collections related types from the same place.

This should be backported to 3.9.

Automerge-Triggered-By: @gvanrossum
(cherry picked from commit d9ab95ff1fe81efdf70e545d536d9f6927d1ba81)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
1 parent a5750cf
History
Tip revision: 900b9851ff93c695300af69cf5f2793a6750f781 authored by Miss Islington (bot) on 27 September 2020, 19:42:29 UTC
[doc] Leverage the fact that the actual types can now be indexed for typing (GH-22340)
Tip revision: 900b985
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.8 KB
.gitignore -rw-r--r-- 1.8 KB
.travis.yml -rw-r--r-- 8.3 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 13.6 KB
Makefile.pre.in -rw-r--r-- 68.8 KB
README.rst -rw-r--r-- 9.9 KB
aclocal.m4 -rw-r--r-- 13.1 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 499.6 KB
configure.ac -rw-r--r-- 168.7 KB
install-sh -rwxr-xr-x 15.0 KB
netlify.toml -rw-r--r-- 82 bytes
pyconfig.h.in -rw-r--r-- 44.4 KB
setup.py -rw-r--r-- 108.5 KB

README.rst

back to top