python / python/cpython

Improve documentation about converting datetime.timedelta to scalars

未關閉
#80,319 6 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

docs pending stdlib
主要語言
Python
星號
77.2k
分支
36k
PR 合併指標
PR 指標待擷取

描述

BPO 36138
Nosy @freddrake, @ncoghlan, @abalkin, @pganssle, @miss-islington, @0xYasser
PRs
  • python/cpython#12137
  • python/cpython#12362
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2019-02-27.14:54:37.765>
    labels = ['3.8', '3.7', 'library', 'docs']
    title = 'Improve documentation about converting datetime.timedelta to scalars'
    updated_at = <Date 2019-03-16.05:34:12.160>
    user = 'https://github.com/pganssle'
    

    bugs.python.org fields:

    activity = <Date 2019-03-16.05:34:12.160>
    actor = 'ncoghlan'
    assignee = 'docs@python'
    closed = False
    closed_date = None
    closer = None
    components = ['Documentation', 'Library (Lib)']
    creation = <Date 2019-02-27.14:54:37.765>
    creator = 'p-ganssle'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36138
    keywords = ['patch']
    message_count = 5.0
    messages = ['336765', '336980', '338052', '338053', '338054']
    nosy_count = 7.0
    nosy_names = ['fdrake', 'ncoghlan', 'belopolsky', 'docs@python', 'p-ganssle', 'miss-islington', 'Yasser Alshalaan']
    pr_nums = ['12137', '12362']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue36138'
    versions = ['Python 3.7', 'Python 3.8']
    

    貢獻指南

    開啟貢獻指南

    從這裡開始

    1. 先讀完整個 Issue,再讀專案的貢獻指南。
    2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
    3. Fork 儲存庫,在一個分支上完成修改。
    4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

    研究方向

    先查看 issue 的背景以及所參照的 pull request #12137 和 #12362,接著找出它們所涉及的 datetime.timedelta 文件。確認關於將 timedeltas 轉換為純量值的指引還缺少哪些內容;當文件清楚說明這項轉換,且相關的文件檢查通過時,即表示完成。

    由索引模型根據 Issue 內容生成。

    評估

    技術堆疊
    python
    領域
    documentation
    Issue 類型
    文件
    難度
    2/5
    預估耗時
    1-3 小時
    活躍度
    停滯
    描述清晰度
    基本清楚
    新手友好度
    25/100

    把新 issue 寄到你的電子郵件信箱

    精選適合新手參與的 GitHub issue 摘要。