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