72 if errors is None: |
72 if errors is None: |
73 self.__errors = 'strict' |
73 self.__errors = 'strict' |
74 else: |
74 else: |
75 self.__errors = errors |
75 self.__errors = errors |
76 |
76 |
77 file.__init__(self, filein, mode, buffering) # __IGNORE_WARNING__ |
77 file.__init__(self, filein, mode, buffering) # __IGNORE_WARNING__ |
78 |
78 |
79 def read(self, n=-1): |
79 def read(self, n=-1): |
80 """ |
80 """ |
81 Public method to read n bytes or all if n=-1 from file. |
81 Public method to read n bytes or all if n=-1 from file. |
82 |
82 |