[py-svn] r23859 - py/dist/py/path/extpy
briandorsey at codespeak.net
briandorsey at codespeak.net
Wed Mar 1 19:10:06 CET 2006
Author: briandorsey
Date: Wed Mar 1 19:09:55 2006
New Revision: 23859
Modified:
py/dist/py/path/extpy/extpy.py
Log:
Added a mode parameter for consistency with the signature of other read() functions.
It is ignored in this case.
Modified: py/dist/py/path/extpy/extpy.py
==============================================================================
--- py/dist/py/path/extpy/extpy.py (original)
+++ py/dist/py/path/extpy/extpy.py Wed Mar 1 19:09:55 2006
@@ -194,8 +194,10 @@
if str(self.root) == x:
return True
- def read(self):
- """ return a bytestring from looking at our underlying object. """
+ def read(self, mode='ignored'):
+ """ return a bytestring from looking at our underlying object.
+
+ mode parmeter exists for consistency, but is ignored."""
return str(self.resolve())
class Checkers(common.Checkers):
More information about the pytest-commit
mailing list