mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
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')
|
||||
-1234
|
||||
>>> base11 = BaseConverter('0123456789-', sign='$')
|
||||
>>> base11.encode('$1234')
|
||||
>>> base11.encode(-1234)
|
||||
'$-22'
|
||||
>>> base11.decode('$-22')
|
||||
'$1234'
|
||||
-1234
|
||||
|
||||
"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user