PyDocs

Nav

Development Tools

cast

typing

function (source)
  • cast(typ, val)
Cast a value to a type.

This returns the value unchanged.  To the type checker this
signals that the return value has the designated type, but at
runtime we intentionally don't check anything (we want this
to be as fast as possible).
0 Examples
No examples for typing/cast.
See Also
No see-alsos for typing/cast
0 Notes
No notes for cast