From 3da02d910655dbaf97e82da8f4ed7ababf0e528c Mon Sep 17 00:00:00 2001 From: BruceSherwood Date: Fri, 18 Nov 2022 14:52:49 -0800 Subject: [PATCH 1/2] Fix sign --- vpython/vpython.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpython/vpython.py b/vpython/vpython.py index 3e0dc85..d66f575 100644 --- a/vpython/vpython.py +++ b/vpython/vpython.py @@ -42,7 +42,7 @@ def Exit(): 'local_light', 'menu', 'meta_canvas', 'points', 'pyramid', 'quad', 'radio', 'ring', 'set_browser', 'simple_sphere', 'sleep', 'slider', 'sphere', 'standardAttributes', 'text', 'textures', 'triangle', 'vertex', - 'wtext', 'winput', 'keysdown'] + 'wtext', 'winput', 'keysdown', 'sign'] from inspect import signature # Python 3; needed to allow zero arguments in a bound function From b130f37c8a0a5d75b44d2da9a872446e30323156 Mon Sep 17 00:00:00 2001 From: BruceSherwood Date: Fri, 18 Nov 2022 15:35:51 -0800 Subject: [PATCH 2/2] Fix test for sign --- vpython/test/test_namespace.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vpython/test/test_namespace.py b/vpython/test/test_namespace.py index dfaaadf..411eaa5 100644 --- a/vpython/test/test_namespace.py +++ b/vpython/test/test_namespace.py @@ -143,7 +143,11 @@ 'version', 'vertex', 'winput', - 'wtext' + 'wtext', + 'wtext', + 'winput', + 'keysdown', + 'sign' ]