class win32com.client.genpy.DispatchItem collection method generation

Syver Enstad syver at NOSPAMcyberwatcher.com
Wed Dec 13 16:29:15 EST 2000


I am currently knee-deep in class DispatchItem working on getting it to
generate __getitem__ and __setitem__ methods for makepy generated classes..

Generated __getitem__ seems to work fine, (passes the testmakepy) test. I
have more problems with __setitem__ because I haven't found any code
describing how it should look except in dynamic.py.

Any hint on how to generate the code for __setitem__ much appreciated.





More information about the Python-list mailing list