Not sure if this is deliberate or an oversight, but we implement it anyway for consistency with other Python implementations.