summaryrefslogtreecommitdiff
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-30 10:05:33 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-30 10:05:33 +0000
commit09a0c64bce93f5ebcea82e81b4b07ddd7ff76cc7 (patch)
tree5083bfffe18f07af6a3030199914459684a89a09 /py/qstrdefs.h
parentb25711ea8fdc1588b5a69f7d0941de09b50fa28c (diff)
py: Improve __bool__ and __len__ dispatch; add slots for them.
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index 81706841c..50b426f1a 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -13,6 +13,8 @@ Q(__next__)
Q(__qualname__)
Q(__repl_print__)
+Q(__bool__)
+Q(__len__)
Q(__getitem__)
Q(__add__)
Q(__sub__)