Skip to content

[Typo]: future语句中代码块中annotations被翻译 #390

@frostylight

Description

@frostylight

Python Version

3.9+

Docs Page

https://docs.python.org/zh-cn/3.13/reference/simple_stmts.html#future

Original Translation

唯一需要使用 future 语句的特性是 标注 (参见 PEP 563)。

Original Docs Paragraph

The only feature that requires using the future statement is annotations (see PEP 563).

Suggested Fix

根据上下文,此处 annotations 应特指 from __future__ import annotations 语句中的 annotations
而且原文为代码块,应该不翻译保留原文 annotations
此问题在所有维护版本(3.9+)的文档中都存在。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions