[wxPython-users] parameter passing Question
Christopher Barker
Chris.Barker at noaa.gov
Wed Aug 9 16:17:20 PDT 2006
Josiah Carlson wrote:
> A more foolproof method is to use:
> self.sim_name = kwargs.pop('sim_name', None)
As it happens, I figured out to use pop when I actually wrote the test
code, but I didn't add the None parameter -- I guess it's a question of
when you want to catch the error.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list