Commit Graph

8 Commits

Author SHA1 Message Date
Shantanu
e048dd2b3b heapq: fix arguments (#3645)
* heapq: mark positional-only args

* heapq: fix types for args with default value None
2020-01-21 17:52:38 -08:00
Sebastian Rittau
256b3ce8ab Remove a bunch of unused imports (#3323) 2019-10-08 07:59:32 -07:00
Sebastian Rittau
9ccf9356bf Remove Python 3.4 support (#3147)
Closes #3123
2019-07-27 10:58:21 +02:00
rchen152
1dfa570cae Fix the definition of nlargest() in stdlib/2/heapq.pyi (#1601)
* Fix nlargest() in stdlib/2/heapq.pyi

* Fix nlargest() syntax

* key can be None in heapq.nlargest
2017-09-12 08:27:41 -07:00
Guido van Rossum
39325bf159 Mypy now supports sys.platform and sys.version_info checks (#410) 2016-07-27 13:25:29 -07:00
Tomasz Elendt
9acc9b31ac Fix heapq.merge signature for Python >= 3.5 (#227) (#261)
Add the optional key and reverse parameters:
https://docs.python.org/3.5/library/heapq.html#heapq.merge
2016-06-04 16:00:45 -07:00
Matthias Kramm
94c9ce8fd0 Consistently use '= ...' for optional parameters. 2015-11-09 13:55:02 -08:00
Matthias Kramm
337abed05a add (overwrite with) mypy stubs, if available 2015-09-30 09:59:44 -07:00