FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

"strftime" format documentation is hard to find · Issue #98378 · python/cpython · GitHub

Repository navigation

"strftime" format documentation is hard to find #98378

Closed

Description

Documentation

If you're writing python, and you use "go to definition" on date#strftime you get

    def strftime(self, fmt):
        "Format using strftime()."
        return _wrap_strftime(self, fmt, self.timetuple())

Which is not very helpful. _wrap_strftime is pretty incomprehensible so reading that doesn't help.

If you look up strftime on the docs it also doesn't explain the format. If you click the link to see detailed behaviour you get this wall of reference information which doesn't have just a single example that'll tell 99% of engineers of what their format should look like.

I'm going to put up a PR to fix this.

Activity

  1. added
    docsDocumentation in the Doc dir
    on Oct 18, 2022
  2. added 2 commits that reference this issue on Oct 18, 2022
  3. added a commit that references this issue on Oct 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL