Avoid tuple argument packing if possible when raising a KeyError on unsuccessful dict lookups.
Reducing the overhead here is actually helpful since many KeyErrors will never be instantiated.
Showing
Please register or sign in to comment