def _createBlank(cls):
 if isinstance(cls, type):
  return cls.__new__(cls)
 if ((not _PY3) and isinstance(cls, _OldStyleClass)):
  return _OldStyleInstance(cls)

def _createBlank ( cls ) : if isinstance ( cls , type ) : return cls . __new__ ( cls ) if ( ( not _PY3 ) and isinstance ( cls , _OldStyleClass ) ) : return _OldStyleInstance ( cls )
given an object .