devel/py-overrides 7.7.0p2 OpenBSD
decorator to detect mismatches when overriding methods
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- devel, lang/python
Description
The @override decorator verifies that a method that should override an inherited method actually does it.
Since signature validation and docstring inheritance are performed on class creation and not on class instantiation, this library significantly improves the safety and experience of creating class hierarchies in Python without significantly impacting performance.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/py-overrides | 7.7.0p2 |
| FreeBSD | devel/py-overrides | 7.7.0_1 |
| NetBSD | devel/py-overrides | 7.7.0nb1 |
| DragonFly | devel/py-overrides | 7.7.0_1 |
| MidnightBSD | devel/py-overrides | 7.7.0_1 |
| HardenedBSD | devel/py-overrides | 7.7.0_1 |
| GhostBSD | devel/py-overrides | 7.7.0_1 |
Install
Binary package:
pkg_add py3-overrides
From the ports tree:
cd /usr/ports/devel/py-overrides && make install
Dependencies
Build dependencies 5
Run dependencies 1
No port depends on this one.