code: def get(key, default=-1):
          
          if isinstance(key, int):
              return NAT_Traversal(key)
          if key not in NAT_Traversal._member_map_:
              extend_enum(NAT_Traversal, key, default)
          return NAT_Traversal[key]
docs: Backport support for original codes.