Jump to >

This documentation covers the in-development release of Djblets. You can see the latest stable docs or all previous versions.

djblets.util.compat.python.past

Compatibility for features removed in Python 3.

Note that this module is not considered API-stable. Changes may be made that remove or alter functionality in the future. Please use at your own risk.

cmp(x, y) → integer[source]

Return negative if x<y, zero if x==y, positive if x>y.