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
1 changed files with 2 additions and 2 deletions

View File

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