Skip to content

Add "What's a typehint" tag #154

@jonathan-d-zhang

Description

@jonathan-d-zhang

Lots of people wonder what at typehint is, so this tag addresses that.

Draftish:
A typehint indicates to users of a function what type it expects to be passed, as well as indicating what type the return value of the function should be.

def add(a: int, b: int) -> int:
    return a + b

Note that this has no actual effect on what is passed, for example, this is valid code

add("hey", ["yo", 2])

Metadata

Metadata

Labels

area: tagsRelated to the @Python bot's tagstype: additionRequest to add something new

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions