Coding Standard Adaptor


Version: 1.0
Category:
Scripts
Python
Requirements:
Seller:
Price:
-
System:
Rating:
4.6
License:

Description - Coding Standard Adaptor



this recipe contains a function, "rename_members", which takes an object, and two strings describing variable naming conventions (e.g. "allcamel", "underscores", etc). it translates attribute names on the given object from the first naming convention to the second (it doesn`t delete the original attributes). the function also takes an optional acceptance function, which will be passed each attribute. the Default acceptance function is "callable".



More in Python-Coding Standard Adaptor

Coding Standard Acceptance Function Coding Standard Adaptor