[Python-checkins] python/nondist/sandbox/path path.py,1.6,1.7
birkenfeld@users.sourceforge.net
birkenfeld at users.sourceforge.net
Mon Jul 25 18:09:20 CEST 2005
Update of /cvsroot/python/python/nondist/sandbox/path
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22176
Modified Files:
path.py
Log Message:
Index: path.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/path/path.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- path.py 25 Jul 2005 16:06:32 -0000 1.6
+++ path.py 25 Jul 2005 16:09:17 -0000 1.7
@@ -63,7 +63,7 @@
if len(args) > 1:
raise TypeError("Path() takes at most 1 argument (%i given)" % len(args))
if not isinstance(args[0], basestring):
- raise ValueError("Path() argument must be str or unicode")
+ raise ValueError("Path() argument must be Path, str or unicode")
return _base.__new__(typ, *args)
# Iterating over a string yields its parts
More information about the Python-checkins
mailing list