Python的PEP文档

What is PEP?
Python的 PEP文档是一组不断发展的标准文档, PEP是 Python Enhancement Proposal首字母的缩写,就像TCP/IP协议使用RFC不断发展成为通信标准一样,PEP也是类似的用于发展Python的一组文档.

PEP stands for Python Enhancement Proposal. A PEP is a design document providing information to the Python community, or describing a new feature for Python or its processes or environment. The PEP should provide a concise technical specification of the feature and a rationale for the feature.

We intend PEPs to be the primary mechanisms for proposing major new features, for collecting community input on an issue, and for documenting the design decisions that have gone into Python. The PEP author is responsible for building consensus within the community and documenting dissenting opinions.

Because the PEPs are maintained as text files in a versioned repository, their revision history is the historical record of the feature proposal [1].

有道翻译一波
PEP代表Python增强建议。PEP是一种设计文档,它向Python社区提供信息,或者描述Python或其流程或环境的新特性。PEP应该提供特性的简明技术规范和特性的基本原理。
我们打算将PEPs作为提出主要新特性的主要机制,用于收集关于某个问题的社区输入,以及记录Python中的设计决策。PEP作者负责在社区内建立共识并记录不同意见。
因为pep是作为文本文件在版本化的存储库中维护的,所以它们的修订历史记录是特性建议[1]的历史记录。
说白了其实就是记录文档~

PEP8

程序员看的比较多的是 PEP8文档,这是官方出的编程规范.
PEP文档很多,说明Python的社区非常活跃,Python也就越流行~
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值