I wasn't familiar with the Hays Code in Hollywood, so I looked it up:
https://en.wikipedia.org/wiki/Motion...roduction_Code :
guidelines for the self-censorship of content that was applied to most United States motion pictures released by major studios from 1934 to 1968