Hi! Is it possible for a .NET class to provide a property with the Python datetime instead of System.DateTime?
Thank you very much for the attention! Best regards! Mello On Thu, Mar 1, 2012 at 6:31 PM, Cesar Mello <cme...@gmail.com> wrote: > It worked perfectly and fast! Thank you so much!!!! > > Best regards > Mello > > > On Thu, Mar 1, 2012 at 5:37 PM, Jeff Hardy <jdha...@gmail.com> wrote: > >> On Thu, Mar 1, 2012 at 12:13 PM, Cesar Mello <cme...@gmail.com> wrote: >> > Hey guys! >> > >> > Just curious: is there a way to implement in the .NET class something >> that >> > maps to the ** operator? >> >> You should be able to create a method called __pow__ like so: >> public object __pow__(object b, object e) { ... } >> >> Replace object with whatever types you're working with. >> >> - Jeff >> > >
_______________________________________________ Ironpython-users mailing list Ironpython-users@python.org http://mail.python.org/mailman/listinfo/ironpython-users