1
0
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:
pythonwood 2021-05-04 13:09:09 +08:00 committed by GitHub
parent 7582d913e7
commit 071cf68630
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
"""