HackerLinks

SIGNAL FROM THE COMMENTS · 2010–2026

legacy.python.org 引用 经典 文档

PEP 3107 -- Function Annotations

PEP 3107 为 Python 函数参数与返回值引入可选注解,语义交由第三方库。

资源信息

域名
legacy.python.org
内容类型
文档(documentation)
主题
立场
引用(reference)
提及
3 次提及,3 位提及者
合集
经典(classic)
提及年份
2014
综合推荐分
5.8

推荐理由

Links PEP 3107 as the original function-annotation standard while criticizing the syntax.

HN 评论原话

“The original function annotations standard is PEP-3107[1]”

— pixelmonkey · 查看 HN 原评论(在新标签页打开)

网页原文证据

This PEP introduces a syntax for adding arbitrary metadata annotations to Python functions

网页抓取状态

成功(ok)