EXPLOSION
f4143c40e8
Update SupportsIndex support for math and cmath ( #6216 )
...
* SupportsIndex for cmath
* Don't support __index__ on <3.7
2021-10-31 11:32:56 +01:00
Bas van Beek
05cc30b8da
Allow math functions to accept objects implementing the __index__ protocol ( #6211 )
2021-10-29 22:17:51 +02:00
Akuli
994b69ef8f
Use lowercase tuple where possible ( #6170 )
2021-10-14 17:18:19 -07:00
Bas van Beek
d599a535b2
Allow math.trunc to only accept __trunc__-supporting objects ( #6003 )
...
Add SupportsTrunc protocol
2021-09-04 18:16:53 +02:00
Akuli
ee487304d7
Big diff: Use new "|" union syntax ( #5872 )
2021-08-08 11:05:21 +02:00
Akuli
17dcea4a68
Akuli and srittau: Remove Python 2 branches from Python 3 stubs ( #5461 )
...
* run script and do some manual changes (Akuli)
* do the whole thing manually (srittau)
* merge changes (Akuli)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
2021-05-15 15:33:39 +03:00
Ivan Levkivskyi
16ae4c6120
Re-organize directory structure ( #4971 )
...
See discussion in #2491
Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com >
2021-01-27 12:00:39 +00:00