[path-PEP] Path inherits from basestring again

Michael Hoffman cam.ac.uk at mh391.invalid
Wed Jul 27 14:44:42 EDT 2005


Ron Adam wrote:

> In all current cases, (that I know of), of differing types, '+' raises 
> an error.

Not quite:

 >>> "hello " + u"world"
u'hello world'
 >>> 4.5 + 5
9.5

> Question:  Is a path object mutable?

No.

This should answer the rest of your questions.
-- 
Michael Hoffman



More information about the Python-list mailing list