Commit Graph

8 Commits

Author SHA1 Message Date
Shantanu
6ff5b88ca7 typeshed: remove crufty comments (#4699)
Co-authored-by: hauntsaninja <>
2020-10-23 09:40:06 +02:00
Jelle Zijlstra
5d553c9584 apply black and isort (#4287)
* apply black and isort

* move some type ignores
2020-06-28 13:31:00 -07:00
Shantanu
b94d23c608 struct: fix arg names, mark positional-only args (#3792) 2020-02-29 14:42:04 +01:00
Michael Lee
efb67946f8 Use variable annotations everywhere (#2909) 2019-04-13 10:40:52 +02:00
Alex Chamberlain
f11d061849 Add mmap as a valid buffer type. (#2895) 2019-03-30 18:47:30 +01:00
Diego Elio Pettenò
e5b15b8eda Allow array[int] as a valid input to struct.unpack(). (#2586)
There does not seem to be an easy way to express that the array needs to be of a 1-byte type ('b', 'B', or 'c' in Python 2 only), so it is a bit more permissive than it should be.
2018-11-19 09:44:13 +01:00
Jelle Zijlstra
0acdfd1548 more 3.7 features (#2017) 2018-04-06 11:09:45 -07:00
David Euresti
8d3c6b14f6 Move struct into 2and3 (#1129) 2017-04-03 09:37:20 -07:00