You are not logged in Log in Join
You are here: Home » Members » comlounge » module for typechecking in Python Scripts

Log in
Name

Password

 
 

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.

Installation

extract the archive in your Products/ folder.

Usage

Example:

    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))

Latest Release: 1.0
Last Updated: 2003-03-02 15:40:20
Author: ZopeOrgSite
Categories: Developer, Helpers
Maturity: Stable

Available Releases

Version Maturity Platform Released
1.0 Stable   2003-03-02 15:40:20
  typecheck-1.0.tar.gz (1 K) All