[Libvirt-cim] [PATCH 1 of 3] [TEST] SystemDevice.01_forward XenFV & KVM support
Jay Gagnon
grendel at linux.vnet.ibm.com
Mon Mar 31 19:59:45 UTC 2008
Dan Smith wrote:
> ZL> + cxml = vxml.get_class(options.virt)(test_dom, vcpus = test_cpu,
> ZL> + mac = test_mac, disk = test_disk)
>
> I'm not familiar with the "function(foo)(bar)" syntax. Can you
> explain?
>
>
If get_class returns a class object, then the second set of parens would
represent the call to that classes constructor I believe. If I'm right,
my opinion would be "clever, but let's make it more obvious what's going
on here."
--
-Jay
More information about the Libvirt-cim
mailing list