aboutsummaryrefslogtreecommitdiff
path: root/python/paludis_python.hh
diff options
context:
space:
mode:
Diffstat (limited to 'python/paludis_python.hh')
-rwxr-xr-xpython/paludis_python.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/paludis_python.hh b/python/paludis_python.hh
index f14e172..2bb177a 100755
--- a/python/paludis_python.hh
+++ b/python/paludis_python.hh
@@ -94,7 +94,7 @@ namespace paludis
// Compare
template <typename T_>
- int __cmp__(T_ & a, T_ & b)
+ int py_cmp(T_ & a, T_ & b)
{
if (a == b)
return 0;
@@ -106,7 +106,7 @@ namespace paludis
// Not equal
template <typename T_>
- bool __ne__(T_ & a, T_ & b)
+ bool py_ne(T_ & a, T_ & b)
{
return ! (a == b);
}