Commit Graph
16 Commits
Author SHA1 Message Date
Alex Waygood bfdb87b9fd Make callable() return TypeGuard (#6274) 2021-11-12 12:21:53 +01:00
Alex Waygood 4eea13b60f Add `__call__ to staticmethod` (#6275) 2021-11-12 12:05:21 +01:00
Alex Waygood 7f93384e6b Make arguments positional-only for `int, memoryview, classmethod, staticmethod and BaseException` (#6272) 2021-11-09 19:56:09 +01:00
Alex Waygood e3180cd48f Make args positional-only for applicable methods in `list and tuple` (#6259) 2021-11-08 09:47:56 -08:00
Alex Waygood d5d0ba158e Make `__round__ positional-only for float, int, Decimal and SupportsRound` (#6242) 2021-11-07 15:05:18 -08:00
Alex Waygood e7b4b73102 Make args positional-only for `str, bytes and bytearray` (#6248) 2021-11-05 20:53:22 +01:00
Alex Waygood ac9b0746ec Make method parameters positional-only in `dict, set, frozenset and enumerate` (#6247) 2021-11-05 20:14:07 +01:00
Alex Waygood 8ba9d11cbe Make dunder method args positional-only for object (#6246) 2021-11-05 19:19:08 +01:00
Alex Waygood a36dc9032f Make `complex and float` dunder methods have positional-only args (#6241) 2021-11-04 22:37:25 +01:00
Alex Waygood e608205c05 Make bool() args positional-only (#6239) 2021-11-04 20:16:35 +01:00
Alex Waygood 6ed392ba5f Make `type()` method params positional-only (#6238) 2021-11-04 11:48:34 -07:00
Alex Waygood d0964d2221 Make super() parameters positional-only (#6237) 2021-11-04 11:13:41 -07:00
Alex Waygood aa9cd1e80e Make `range` parameters positional-only (#6236) 2021-11-04 10:56:16 -07:00
Alex Waygood 4cbc657167 Make getattr() parameters positional-only (#6235) 2021-11-04 18:28:33 +01:00
Alex Waygood 26f2c702d3 Make slice parameters positional-only (#6234) 2021-11-04 15:29:15 +01:00
Alex Waygood e2ee7c297d Make property method args positional-only (#6231) 2021-11-03 09:33:08 -07:00