]> granicus.if.org Git - python/commit
bpo-31497: Add private helper _PyType_Name(). (#3630)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 17 Sep 2017 18:11:04 +0000 (21:11 +0300)
committerGitHub <noreply@github.com>
Sun, 17 Sep 2017 18:11:04 +0000 (21:11 +0300)
commit4ab46d794961491ed185c195d53da7ee6a16e646
treed8c39fb69ba33674cf8a240f6d068d0cf710d7a3
parent132a7d7cdbc7cb89fa1c1f4e8192241c3d68f549
bpo-31497: Add private helper _PyType_Name(). (#3630)

This function returns the last component of tp_name after a dot.
Returns tp_name itself if it doesn't contain a dot.
Include/object.h
Modules/_functoolsmodule.c
Modules/itertoolsmodule.c
Objects/exceptions.c
Objects/odictobject.c
Objects/typeobject.c