Framework for adding strict typing to python.
Project description
Python’s flexable duck typing system is great for allowing people to write generic funcitons which can be re-used with various kinds of input. However, not all functions are written with this generality in mind.
By annotating your functions you give a clear signal to callers about what inputs are expected. Additionally, annotations can help you write functions with fewer type checking conditionals. Annotations allow you to find bugs at the top of your functions rather than in the middle of a calculation.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
func_prototypes-0.1.tar.gz
(2.2 kB
view details)
File details
Details for the file func_prototypes-0.1.tar.gz
.
File metadata
- Download URL: func_prototypes-0.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b020798892a785e9617b0e3d043b7a7243397a1697e45b2e0f4bd319956c198e |
|
MD5 | e1a40fc1b046a12256007b1ade024b8a |
|
BLAKE2b-256 | a4e32b10fef3f0c2068e5987b02eed416b45701d853395fa53a919187bada6a5 |