Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add examples for all Python features in doc #127489

Closed as not planned
Closed as not planned
Labels
docsDocumentation in the Doc dirtype-featureA feature request or enhancement
@ArtemIsmagilov

Description

@ArtemIsmagilov

Feature or enhancement

Proposal:

Doc text about id func
...
Example

id("string")>>>46764578

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

In Rust, all std features have one or more examples.

Please, add in doc 1, 2 examples with code. It's need for simple visualisation, demonstrating features.

hex func have examples, its cool!
https://docs.python.org/3/library/functions.html#hex

But, id func haven't example
https://docs.python.org/3/library/functions.html#id

I think that in general everything that is in Python in the documentation should be with at least one example of how to apply it. Let's take an example from Rust!

This is a big problem, because it is not clear how to apply the language features and in what situation. a small example will give me an idea of how the correct application of features looks like.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirtype-featureA feature request or enhancement

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp