def __init__(self, io, obj_type):
        try:
            obj_type = obj_type.__name__
        except AttributeError:
            pass #objtype is probably some string

        super(NumberedObjectOutStream,self).__init__(io)
        self._io.writelnWord('%  number of '+ "%s objects"  %  obj_type)
        self._io.writeNewLine()
dataset/ETHPy150Open uci-cbcl/tree-hmm/gmtkParam/__init__.py/NumberedObjectOutStream.__init__/original