Josh
1787867320
Add support for specifying the type of a generic discord.Object
...
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2022-08-06 14:23:37 -04:00
Rapptz
88b520b5ab
Reformat code using black
...
Segments where readability was hampered were fixed by appropriate
format skipping directives. New code should hopefully be black
compatible. The moment they remove the -S option is probably the moment
I stop using black though.
2022-02-20 08:04:58 -05:00
Gnome!
67026809a8
Fix EqualityComparable.__eq__ typing
2021-07-28 19:55:19 -04:00
Rapptz
5a9cbc967b
Typehint mixins
2021-05-29 02:44:31 -04:00
Nadir Chowdhury
89456022cf
Add __all__
to remaining modules
2021-04-07 02:30:32 -04:00
Rapptz
9d39b135f4
Modernize code to use f-strings
...
This also removes the encoding on the top, since Python 3 does it by
default. It also changes some methods to use `yield from`.
2021-04-04 07:03:53 -04:00
Nihaal Sangha
69bdc3a184
Change copyright year to present
2021-01-15 05:28:11 -05:00
Rapptz
6071607176
Bump copyright year to 2020
...
Closes #2510
2020-01-19 20:03:00 -05:00
Dante Dam
9656a21ebe
Bumped copyright years to 2019.
2019-01-28 22:22:50 -05:00
Rapptz
ff9f5749e1
Update copyright year to 2017.
2017-01-20 23:19:19 -05:00
Rapptz
7e2c016eaa
Remove extraneous unneeded hash calls.
2017-01-10 04:37:45 -05:00
Rapptz
e4b16851bf
Slots use tuples instead now.
2017-01-03 09:51:50 -05:00
Rapptz
db4cc791dd
Update license of files to 2016.
2016-01-04 22:28:29 -05:00
Rapptz
f1f0e169e4
Add __slots__ where appropriate to data classes.
2015-12-19 06:18:12 -05:00
Rapptz
51d91c2a82
Most data classes now support hashing.
2015-12-17 00:32:54 -05:00
Rapptz
9137d92f67
All data classes now support !=, == and str(obj).
2015-12-13 22:53:48 -05:00