Skip to content

Strange behavior of Refs #506

Answered by FeodorFitsner
ndonkoHenri asked this question in Q&A
Discussion options

You must be logged in to vote

Because in Python Ref[Textfield] is a generic of type Textfield. It's a type "hint". Python does not enforce types - you can do whatever you like.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ndonkoHenri
Comment options

ndonkoHenri Oct 22, 2022
Collaborator Author

Comment options

You must be logged in to vote
1 reply
@ndonkoHenri
Comment options

ndonkoHenri Oct 22, 2022
Collaborator Author

Answer selected by ndonkoHenri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants