Mark Huang
207ac957ef
[mypy] Add type hints and docstrings to heap.py (#3013)
* Add type hints and docstrings to heap.py
- Add type hints
- Add docstrings
- Add explanatory comments
- Improve code readability
- Change to use f-string
* Fix import sorting
* fixup! Format Python code with psf/black push
* Fix static type error
* Fix failing test
* Fix type hints
* Add return annotation
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
2020-12-26 08:42:37 +05:30
..
2020-12-26 08:42:37 +05:30
2020-12-03 16:02:48 +01:00
2020-10-24 12:16:37 +02:00
2020-11-02 00:35:31 +08:00
2020-09-28 19:42:36 +02:00