Commit Graph

11 Commits

Author SHA1 Message Date
Adam Kelly
647cb08d78 Remove special case for None payload from boolval. 2019-03-05 15:05:52 +00:00
ZapAnton
da68dfef78 tests: Removed tests for the __doc__ 2019-02-08 19:41:47 +03:00
Windel Bouwman
1c07a2285d Merge pull request #268 from mrecachinas/add-bool-doc
Add bool.__doc__ (addresses #260)
2019-02-04 21:34:58 +01:00
Alexander Gude
33523d492c Change int.conjugate() to return a new int
This results in the correct behavior (that is, matching CPython) for
both int and bool types.

Also adding a bool conjugate test.
2019-02-03 13:31:09 -08:00
Alexander Gude
a95747f161 Add .conjugate() method to int type
Also add tests for for the int type, and a commented out one for the
bool type.
2019-02-03 11:18:23 -08:00
Michael Recachinas
e0b41d1386 Add bool.__doc__ (addresses #260) 2019-02-02 21:25:14 +00:00
Adam Kelly
04b73d4628 Bool is a subclass of int, so doesn't need a special kind. 2018-09-02 14:10:36 +01:00
Adam Kelly
e10dfa4f87 Compile and and or. 2018-08-26 09:36:27 +01:00
Adam Kelly
fb2c959cc4 Missing __bool__ is truthy and None is falsey. 2018-08-26 09:36:27 +01:00
Adam Kelly
d60dfd2ad8 Test __bool__ and fix it. 2018-08-24 18:48:09 +01:00
Adam Kelly
d5668c32ee Add test for bools. 2018-08-24 18:23:20 +01:00