Skip to content

Native syntactic support for type annotations was introduced in Python 3. This article provides an overview of this feature, reviews how it can be used to document information about expressions and functions in a structured way, and illustrates some of the advantages of leveraging it for applicable use cases.

License

Notifications You must be signed in to change notification settings

python-supply/advantages-of-type-annotations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

advantages-of-type-annotations

A variety of projects and scenarios might benefit from a standard approach for representing type signatures for Python functions and methods. If you find yourself planning or implementing such a project, what conventions can you adopt that employ Python's existing features, reduce clutter in the source code, and allow Python programmers to leverage their existing skills?

Native syntactic support for type annotations was introduced in Python 3. This article provides an overview of this feature, reviews how it can be used to document information about expressions and functions in a structured way, and illustrates some of the advantages of leveraging it for applicable use cases.

About

Native syntactic support for type annotations was introduced in Python 3. This article provides an overview of this feature, reviews how it can be used to document information about expressions and functions in a structured way, and illustrates some of the advantages of leveraging it for applicable use cases.

Topics

Resources

License

Stars

Watchers

Forks