From 6e76960158156a7b6f94305a384c8801108b0f7e Mon Sep 17 00:00:00 2001 From: AURUMVORXX Date: Thu, 7 Nov 2024 00:09:05 +0300 Subject: [PATCH] docs: Fix for Comparing with Squirrel example code --- docs/comparing.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/comparing.md b/docs/comparing.md index 0e5797b..ab01c24 100644 --- a/docs/comparing.md +++ b/docs/comparing.md @@ -26,11 +26,11 @@ def evtColor(**kwargs): def testEvt(**kwargs): print(kwargs) -g2o.callEvent('MyTestEvent', name = 'aurumvorax', 'id' = 15) +g2o.callEvent('MyTestEvent', name = 'aurumvorax', id = 15) # OR -g2o.callEvent('MyTestEvent', {name: 'aurumvorax', 'id': 15}) +g2o.callEvent('MyTestEvent', {'name': 'aurumvorax', 'id': 15}) # OR -args = {name: 'aurumvorax', 'id': 15} +args = {'name': 'aurumvorax', 'id': 15} g2o.callEvent('MyTestEvent', args) ``` ---