Nobody speaks of COMPULSARY cane.
In France, physical punishment were NEVER allowed, or perhaps in the 1880s.
However discipline was imposed and respected. Then something happened but it was a society thing, not espacially inner school system.