Poor Yorick <org.python.pythonlist <at> pooryorick.com> writes:
> > The following code produces an error (python-2.6.2). Either of the following > eliminates the error: > > . assign something besides mod1 (the newly-created module) to d1 > > . remove the call to shelve.open [snip] > > $ python2.6 test1.py > hello from test2 > hello from test3 > Exception TypeError: "'NoneType' object is not callable" in ignored > Exception TypeError: "'NoneType' object is not callable" in ignored Take your error message, paste it into a search box in a browser, delete punctuation characters (especially "), and hit the search button. Limiting your search to this newsgroup is a good idea. -- http://mail.python.org/mailman/listinfo/python-list