1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +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

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