mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-03-16 13:40:08 +01:00
Updated doc strings to be more informative
This commit is contained in:
@@ -82,13 +82,13 @@ def run():
|
||||
""")
|
||||
|
||||
cls.addPyMethod("__setstate__", "(self, state)",
|
||||
doc = """Sets internal state of PyEvent object to allow pickling""",
|
||||
doc = """Sets internal state of PyEvent object. This allows PyEvent to be reconstructed as part of the pickling process""",
|
||||
body = """\
|
||||
self.__dict__.update(state)
|
||||
""")
|
||||
|
||||
cls.addPyMethod("__getstate__", "(self)",
|
||||
doc = "Returns internal state. Precense enables pickling",
|
||||
doc = "Returns this object's internal state. This is used as part of the pickling process",
|
||||
body = """\
|
||||
return self.__dict__
|
||||
""")
|
||||
@@ -151,13 +151,13 @@ def run():
|
||||
""")
|
||||
|
||||
cls.addPyMethod("__setstate__", "(self, state)",
|
||||
doc = """Sets internal state of PyEvent object to allow pickling""",
|
||||
doc = """Sets internal state of PyEvent object. This allows PyEvent to be reconstructed as part of the pickling process""",
|
||||
body = """\
|
||||
self.__dict__.update(state)
|
||||
""")
|
||||
|
||||
cls.addPyMethod("__getstate__", "(self)",
|
||||
doc = "Returns internal state. Precense enables pickling",
|
||||
doc = "Returns this object's internal state. This is used as part of the pickling process",
|
||||
body = """\
|
||||
return self.__dict__
|
||||
""")
|
||||
|
||||
Reference in New Issue
Block a user