rewrite this function, which was still accounting for classic classes
rewrite this function, which was still accounting for classic classes

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator