inducer / inducer/pyopencl

feat: create Python typing stub

Open
#311 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.2k
Forks
247
Avg merge
7h 2m
Merged PRs (30d)
6

Description

Since python 3.6, we can add type information to python variables, functions, etc... Having such type information specified can avoid many mistakes early before they lead to runtime error. Since this library wants to maintain its support for python 2.7, adding type annotations to the code in the python modules is infeasible. As a result, stubs can be implemented to provide type information while maintaining backward-compatibility.

More information, https://www.python.org/dev/peps/pep-0484/

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.