Browse Source

remove name and value from builtins

Darren Ranalli 18 năm trước cách đây
mục cha
commit
fcee0e315f
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      direct/src/distributed/MsgTypes.py

+ 1 - 0
direct/src/distributed/MsgTypes.py

@@ -93,6 +93,7 @@ MsgId2Names = invertDictLossless(MsgName2Id)
 # put msg names in module scope, assigned to msg value
 for name, value in MsgName2Id.items():
     exec '%s = %s' % (name, value)
+del name, value
 
 # These messages are ignored when the client is headed to the quiet zone
 QUIET_ZONE_IGNORED_LIST = [