PyDocs

Nav

Development Tools

ParamSpec.has_default

typing

method of ParamSpec · Added in 3.13
  • ParamSpec.has_default()
Return whether or not the parameter specification has a default value. This is equivalent to checking whether __default__ is not the typing.NoDefault singleton, except that it does not force evaluation of the lazily evaluated default value.
0 Examples
No examples for typing/ParamSpec.has_default.
See Also
No see-alsos for typing/ParamSpec.has_default
0 Notes
No notes for ParamSpec.has_default