Show More
@@ -1473,7 +1473,7 b' class url(object):' | |||
|
1473 | 1473 | return '<url %s>' % ', '.join(attrs) |
|
1474 | 1474 | |
|
1475 | 1475 | def __str__(self): |
|
1476 | """Join the URL's components back into a URL string. | |
|
1476 | r"""Join the URL's components back into a URL string. | |
|
1477 | 1477 | |
|
1478 | 1478 | Examples: |
|
1479 | 1479 | |
@@ -1493,6 +1493,8 b' class url(object):' | |||
|
1493 | 1493 | 'bundle:../foo' |
|
1494 | 1494 | >>> str(url('path')) |
|
1495 | 1495 | 'path' |
|
1496 | >>> print url(r'bundle:foo\bar') | |
|
1497 | bundle:foo\bar | |
|
1496 | 1498 | """ |
|
1497 | 1499 | if self._localpath: |
|
1498 | 1500 | s = self.path |
General Comments 0
You need to be logged in to leave comments.
Login now