module for typechecking in Python Scripts
this products exposed a module with two functions to Python Scripts in order to be able to compare two types. Installationextract the archive in your Products/ folder. UsageExample: from Products.TypeCheck.typecheck import compare_types,typename return compare_types('string',3) so it will compare whether both objects have the same type and return true or false accordingly. (something like type(a)==type(b))
|
|
Available Releases
Version | Maturity | Platform | Released |
---|---|---|---|
1.0 | Stable | 2003-03-02 15:40:20 | |
typecheck-1.0.tar.gz (1 K) | All |