Drop unused staticmethods

pull/12762/head
Nathaniel Manista 7 years ago
parent 3e3bbdff91
commit 4ceb743c82
  1. 8
      src/python/grpcio/grpc/_cython/_cygrpc/records.pyx.pxi

@ -171,14 +171,6 @@ cdef class Timespec:
gpr_convert_clock_type(self.c_time, GPR_CLOCK_REALTIME))
return <double>real_time.seconds + <double>real_time.nanoseconds / 1e9
@staticmethod
def infinite_future():
return Timespec(float("+inf"))
@staticmethod
def infinite_past():
return Timespec(float("-inf"))
def __richcmp__(Timespec self not None, Timespec other not None, int op):
cdef gpr_timespec self_c_time = self.c_time
cdef gpr_timespec other_c_time = other.c_time

Loading…
Cancel
Save