From 484fb84bb9324c39470a58a2bdb4e664c1886fe4 Mon Sep 17 00:00:00 2001 From: Mesalu Date: Mon, 22 Oct 2018 14:30:17 -0700 Subject: [PATCH] remove misleading comments, do not create a copy of strs --- .../snippets/python/converted/wx.EvtHandler.QueueEvent.1.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/sphinx/rest_substitutions/snippets/python/converted/wx.EvtHandler.QueueEvent.1.py b/docs/sphinx/rest_substitutions/snippets/python/converted/wx.EvtHandler.QueueEvent.1.py index 9a7ecce2..37f76d06 100644 --- a/docs/sphinx/rest_substitutions/snippets/python/converted/wx.EvtHandler.QueueEvent.1.py +++ b/docs/sphinx/rest_substitutions/snippets/python/converted/wx.EvtHandler.QueueEvent.1.py @@ -3,8 +3,7 @@ evt = wx.CommandEvent() - # NOT evt.SetString(strs) as this would be a shallow copy - evt.SetString(strs[:]) # make a deep copy + evt.SetString(strs) wx.TheApp.QueueEvent(evt)