MCPcopy Index your code
hub / github.com/python/cpython / __le__

Method __le__

Lib/xmlrpc/client.py:306–310  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

304 return s < o
305
306 def __le__(self, other):
307 s, o = self.make_comparable(other)
308 if o is NotImplemented:
309 return NotImplemented
310 return s <= o
311
312 def __gt__(self, other):
313 s, o = self.make_comparable(other)

Callers

nothing calls this directly

Calls 1

make_comparableMethod · 0.95

Tested by

no test coverage detected