(self, fp, filename=None)
Deprecated, use read_file instead.
Deprecated, use read_file instead.
Deprecated use read_file instead .
def readfp(self, fp, filename=None):
        """Deprecated, use read_file instead."""
        warnings.warn(
            "This method will be removed in future versions.  "
            "Use 'parser.read_file()' instead.",
            DeprecationWarning, stacklevel=2
        )
        self.read_file(fp, source=filename)
def readfp ( self , fp , filename = None ) : warnings . warn ( "This method will be removed in future versions.  " "Use 'parser.read_file()' instead." , DeprecationWarning , stacklevel = 2 ) self . read_file ( fp , source = filename )