make default value of rev
keyword argument type stable
#24422
Merged
rev
keyword argument type stable
#24422