[Q] Type checking...go further...
Graham Matthews
graham at sloth.math.uga.edu
Mon Jul 19 12:15:57 EDT 1999
More information about the Python-list mailing list
Mon Jul 19 12:15:57 EDT 1999
- Previous message (by thread): [Q] Type checking...go further...
- Next message (by thread): How to send text to a Windows program
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Olivier Deckmyn (olivier.deckmyn at mail.dotcom.fr) wrote: : Thank you all for your answers ! : I finally use isinstance in the methods of my classes... : : But to go further, is there a way in python to have typed methods parameters : ? : aka : No there is no way. You cannot statically check types in Python. You must use dynamic check as per "isinstance". graham -- The girls is all salty, the boys is all sweet, the food ain't too shabby an' they piss in the streets In France, way down in France, way on down, way on down in France
- Previous message (by thread): [Q] Type checking...go further...
- Next message (by thread): How to send text to a Windows program
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list