mirror of https://github.com/django/django.git
Fixed #32709 -- Corrected examples in django/utils/baseconv.py docstring.
This commit is contained in:
parent
7582d913e7
commit
071cf68630
|
@ -30,10 +30,10 @@ Sample usage::
|
||||||
>>> base20.decode('-31e')
|
>>> base20.decode('-31e')
|
||||||
-1234
|
-1234
|
||||||
>>> base11 = BaseConverter('0123456789-', sign='$')
|
>>> base11 = BaseConverter('0123456789-', sign='$')
|
||||||
>>> base11.encode('$1234')
|
>>> base11.encode(-1234)
|
||||||
'$-22'
|
'$-22'
|
||||||
>>> base11.decode('$-22')
|
>>> base11.decode('$-22')
|
||||||
'$1234'
|
-1234
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue