From 6d6303010f1d0da872c06a231a4a3d194e67d1e0 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Fri, 31 Oct 2014 11:35:15 -0700 Subject: [PATCH] python.objects: use flags{ } for flags. --- extra/python/objects/objects.factor | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extra/python/objects/objects.factor b/extra/python/objects/objects.factor index d685bcfb4f..e069cbbb87 100644 --- a/extra/python/objects/objects.factor +++ b/extra/python/objects/objects.factor @@ -1,6 +1,6 @@ -USING: accessors alien.c-types alien.data alien.libraries classes.struct -io.encodings.ascii io.encodings.utf8 kernel libc math python.errors -python.ffi ; +USING: accessors alien.data alien.libraries classes.struct +io.encodings.ascii io.encodings.utf8 kernel libc literals +python.errors python.ffi ; IN: python.objects ! The None object @@ -74,7 +74,7 @@ IN: python.objects swap [ utf8 malloc-string &free >>ml_doc ] when* swap ascii malloc-string &free >>ml_name swap >>ml_meth - METH_VARARGS METH_KEYWORDS bitor >>ml_flags ; + flags{ METH_VARARGS METH_KEYWORDS } >>ml_flags ; : ( alien -- cfunction ) "cfunction" f f f