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
This repository was archived by the owner on Jun 25, 2025. It is now read-only.
/python-snippetsPublic archive

Verbose function snippet#24

Open
dmc-au wants to merge1 commit intocstrap:master
base:master
Choose a base branch
Loading
fromdmc-au:function-verbose

Conversation

dmc-au
Copy link

@dmc-audmc-au commentedAug 16, 2022
edited
Loading

I'd like to submit for consideration a 'verbose' function snippet that I use in conjunction with your other great snippets. It includes type hints and a docstring. The docstring is in line with the reStructuredText (reST) format.

It appears as follows:

def fname(arg: type) -> type:    '''    Function definition.    :param arg: first param    :returns: return    '''    return type

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@dmc-au

[8]ページ先頭

©2009-2025 Movatter.jp