Fileholder class
| FileHolder([filename, fileobj, pos]) | class to contain filename, fileobj and file position |
| FileHolderError | |
| copy_file_map(file_map) | Copy mapping of fileholders given by file_map |
Bases: object
class to contain filename, fileobj and file position
Initialize FileHolder instance
| Parameters : | filename : str, optional
fileobj : file-like object, optional
pos : int, optional
|
|---|
Initialize FileHolder instance
| Parameters : | filename : str, optional
fileobj : file-like object, optional
pos : int, optional
|
|---|
Return fileobj if present, or return fileobj from filename
Set position to that given in self.pos
| Parameters : | *args : tuple
**kwargs : dict
|
|---|---|
| Returns : | fileobj : file-like object
|
Test if self refers to same files / fileobj as other
| Parameters : | other : object
|
|---|---|
| Returns : | tf : bool
|