def clone(self, interp, contextclass): from hippy.module.date.common import TimeZoneWrapper w_res = W_InstanceObject.clone(self, interp, contextclass) assert isinstance(w_res, W_DateTimeZone) w_res.timelib_timezone = timelib.timelib_tzinfo_clone( self.timelib_timezone) w_res.timezone_info = TimeZoneWrapper(w_res.timelib_timezone, 3) return w_res
def clone(self, interp, contextclass): from hippy.module.date.common import TimeZoneWrapper w_res = W_InstanceObject.clone(self, interp, contextclass) assert isinstance(w_res, W_DateTimeZone) w_res.timelib_timezone = timelib.timelib_tzinfo_clone( self.timelib_timezone ) w_res.timezone_info = TimeZoneWrapper(w_res.timelib_timezone, 3) return w_res
def clone(self, interp, contextclass): w_res = W_InstanceObject.clone(self, interp, contextclass) w_res.timelib_timezone = timelib.timelib_tzinfo_clone( self.timelib_timezone) return w_res