We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d71e3bc commit 33d493eCopy full SHA for 33d493e
1 file changed
Doc/library/functions.rst
@@ -138,9 +138,10 @@ are always available. They are listed here in alphabetical order.
138
>>> f'{14:#b}', f'{14:b}'
139
('0b1110', '1110')
140
141
- See also :func:`enum.bin` to represent negative values as twos-complement.
+ See also :func:`format` for more information on binary representations.
142
143
- See also :func:`format` for more information.
+ Negative integers are represented with a leading ``'-'`` sign rather than
144
+ using two's complement form.
145
146
147
.. class:: bool(object=False, /)
0 commit comments