]> granicus.if.org Git - python/commit
Cleanup inspect
authorSrinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <srinivasreddy@users.noreply.github.com>
Fri, 9 Feb 2018 09:59:19 +0000 (15:29 +0530)
committerINADA Naoki <methane@users.noreply.github.com>
Fri, 9 Feb 2018 09:59:19 +0000 (18:59 +0900)
commitfeaefc7f60cd3be7bf4ecc2b73e77d2bfe048403
treee7b4e68f6b7781f04b4600cadeece9dbe99f1efd
parenta48e78a0b7761dd74f1d03fc69e0f6caa6f02fe6
Cleanup inspect

* use isinstance(..)  instead of type(..)
* use  '.. not in ..'  instead of 'not .. in .. '
Lib/inspect.py