aboutsummaryrefslogtreecommitdiff
path: root/Python Operators.wiki
diff options
context:
space:
mode:
Diffstat (limited to 'Python Operators.wiki')
-rw-r--r--Python Operators.wiki39
1 files changed, 39 insertions, 0 deletions
diff --git a/Python Operators.wiki b/Python Operators.wiki
new file mode 100644
index 0000000..aa9dbc1
--- /dev/null
+++ b/Python Operators.wiki
@@ -0,0 +1,39 @@
+{{{
+< __lt__
+<= __le__
+== __eq__
+!= __ne__
+>= __ge__
+> __gt_
+
++ __add__
+// __floordiv__
+~ __inv__ (or __invert__)
+<< __lshift__
+% __mod__
+* __mul__
+@ __matmul__
+- (unary) __neg__
+| __or__
++ (unary) __pos__
+>> __rshift__
+- __sub__
+/ __truediv__
+^ __xor__
++ (sequences) __concat__
+
+** __pow__
+
+in __contains__
+
+& __and__
+
+
+__abs__
+}}}
+
+{{{
+__bool__
+__str__
+__repr__
+}}}