(self, fileObj: TextIO = None, prefix: str = None)
Will write to stdout unless fileObj given. Will use
        defaultPrefix as prefix for each line output, unless prefix
        specified.
Will write to stdout unless fileObj given. Will use
        defaultPrefix as prefix for each line output, unless prefix
        specified.
Will write to stdout unless fileObj given . Will use defaultPrefix as prefix for each line output unless prefix specified .
def __init__(self, fileObj: TextIO = None, prefix: str = None):
        """
        Will write to stdout unless fileObj given. Will use
        defaultPrefix as prefix for each line output, unless prefix
        specified.
        """
        self.__pre = prefix or self.defaultPrefix

        if fileObj is None:
            import sys
            self.__fileObj = sys.stdout
        else:
            self.__fileObj = fileObj
def __init__ ( self , fileObj : TextIO = None , prefix : str = None ) : self . __pre = prefix or self . defaultPrefix if fileObj is None : import sys self . __fileObj = sys . stdout else : self . __fileObj = fileObj