summaryrefslogtreecommitdiff
path: root/modules/language/python/module/types.scm
diff options
context:
space:
mode:
Diffstat (limited to 'modules/language/python/module/types.scm')
-rw-r--r--modules/language/python/module/types.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/language/python/module/types.scm b/modules/language/python/module/types.scm
index 4448b6a..759a8be 100644
--- a/modules/language/python/module/types.scm
+++ b/modules/language/python/module/types.scm
@@ -7,7 +7,8 @@
#:use-module (language python dict)
#:use-module ((language python module python)
#:select (getattr type))
- #:export (MappingProxyType DynamicClassAttribute Functiontype LambdaType))
+ #:export (MappingProxyType DynamicClassAttribute Functiontype LambdaType
+ MethodType BuiltinMethodType))
"""
Define names for built-in types that aren't directly accessible as a builtin.
@@ -15,6 +16,8 @@ Define names for built-in types that aren't directly accessible as a builtin.
(define MappingProxyType dict)
(define FunctionType <procedure>)
(define LambdaType <procedure>)
+(define MethodType <procedure>)
+(define BuiltinMethodType #f)
(define-python-class DynamicClassAttribute ()
"Route attribute access on a class to __getattr__.