1. 首页
  2. 数据库
  3. 其它
  4. beartype:纯Python中难以置信的快速O(1)运行时类型检查 源码

beartype:纯Python中难以置信的快速O(1)运行时类型检查 源码

上传者: 2021-04-08 19:47:21上传 ZIP文件 528.7KB 热度 33次
Look for the bare necessities, the simple bare necessities. Forget about your worries and your strife. — . Beartype是一种开源的,纯Python着重于效率,可移植性和令人兴奋的双关语。 # Install beartype. $ pip3 install beartype # Use beartype. $ python3 # Import the @beartype decorator. >> > from beartype import beartype # Decorate callables annotated by PEP-compliant type hints with @beartype. >> > @
下载地址
用户评论