Issue #23277: Remove unused sys and os imports

Patch by Jon Dufresne.
This commit is contained in:
Berker Peksag 2016-04-24 07:31:42 +03:00
parent 37917369d5
commit 1e8ee9b380
45 changed files with 6 additions and 48 deletions

View file

@ -1,5 +1,3 @@
import sys
def is_instance(obj, klass):
"""Version of is_instance that doesn't access __class__"""
return issubclass(type(obj), klass)