public object pop() { object res; if (_items.Pop(out res)) { return(res); } throw PythonOps.KeyError("pop from an empty set"); }