You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2004-09-30.00:59:13.000>created_at=<Date2004-09-27.06:10:39.000>labels= ['docs']
title='hex() and oct() documentation is incorrect'updated_at=<Date2004-09-30.00:59:13.000>user='https://github.com/ncoghlan'
The documentation for hex() and oct() in the library
reference currently still says they return unsigned
literals only.
With the progress of int/long unification, they no
longer do this. hex(-1) now returns "-0x1". This is
required so that "eval(hex(-1)) == -1" continues to be
true.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: