aboutsummaryrefslogtreecommitdiff
path: root/Python Operators.wiki
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-08-10 15:19:12 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-08-10 15:19:12 +0200
commitb2d4f5ab1bf798166eff3b3e02663dbbdfbf3dcd (patch)
tree158cef8e597a98aaa0f14f9051a3a546e67beec9 /Python Operators.wiki
parentlör 22 jul 2023 17:09:59 CEST (diff)
downloadwiki-public-b2d4f5ab1bf798166eff3b3e02663dbbdfbf3dcd.tar.gz
wiki-public-b2d4f5ab1bf798166eff3b3e02663dbbdfbf3dcd.tar.xz
tor 10 aug 2023 15:19:10 CEST
Diffstat (limited to 'Python Operators.wiki')
-rw-r--r--Python Operators.wiki16
1 files changed, 16 insertions, 0 deletions
diff --git a/Python Operators.wiki b/Python Operators.wiki
index 5f79eac..09c168b 100644
--- a/Python Operators.wiki
+++ b/Python Operators.wiki
@@ -1,4 +1,6 @@
== Operators ==
+https://docs.python.org/3/library/operator.html
+
{{{
< __lt__
<= __le__
@@ -23,6 +25,20 @@
^ __xor__
+ (sequences) __concat__
++= __iadd__, __iconcat__
+&= __iand__
+//= __ifloordiv__
+<<= __ilshift__
+%= __imod__
+*= __imul__
+|= __ior__
+**= __ipow__
+>>= __irshift
+-= __isub__
+/= __itruediv__
+^= __ixor__
+
+
** __pow__
in __contains__