E&S CVS Commit: pylib - Added utilities module for things needed by multiple sub-packages. Added a

pje at eby-sarna.com pje at eby-sarna.com
Sun Jul 1 12:00:01 EDT 2001


Module Name:	pylib
Committed By:	pje
Date:		Sun Jul  1 15:59:53 UTC 2001

Added Files:
	pylib/TW: Utilities.py

Log Message:
Added utilities module for things needed by multiple sub-packages.  Added a
"Pluralizer" class that turns identifier strings into their plural forms,
ignoring non-alpha suffixes and intelligently handling capitalization.
Subclasses can be created to implement different suffix rules, and
instances can specify custom mappings for specific names.  Pluralizers will
be used for such things as creating Service class names from Element class
names, and for creating plural association-end names in the UML metamodel.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/pylib/TW/Utilities.py?rev=1.1&content-type=text/vnd.viewcvs-markup

To generate a diff of this commit:
cvs rdiff -r0 -r1.1 pylib/TW/Utilities.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.





More information about the source-changes mailing list