mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-07 20:00:20 +00:00
Document furl type.
This commit is contained in:
parent
c1a699dede
commit
0b7c0bf451
@ -558,6 +558,9 @@ class _FoolscapStorage(object):
|
|||||||
}
|
}
|
||||||
|
|
||||||
*nickname* is optional.
|
*nickname* is optional.
|
||||||
|
|
||||||
|
The furl will be a Unicode string on Python 3; on Python 2 it will be
|
||||||
|
either a native (bytes) string or a Unicode string.
|
||||||
"""
|
"""
|
||||||
furl = furl.encode("utf-8")
|
furl = furl.encode("utf-8")
|
||||||
m = re.match(br'pb://(\w+)@', furl)
|
m = re.match(br'pb://(\w+)@', furl)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user