def createProperties(args=None, defaults=None): '''Creates a new property set. The optional arguments represent an argument list (such as sys.argv) and a property set that supplies default values. You can invoke this function as follows: Ice.createProperties() Ice.createProperties(args) Ice.createProperties(defaults) Ice.createProperties(args, defaults) If you supply an argument list, the function removes those arguments from the list that were recognized by the Ice run time. ''' properties = IcePy.createProperties(args, defaults) return PropertiesI(properties)