"Pre-Code Hollywood refers to the era in the American film industry between the introduction of sound in the late 1920s and the enforcement of the Motion Picture Production Code. [---] Although the Code was adopted in 1930, oversight was poor and it did not become rigorously enforced until July 1, 1934.
"As a result, films in the late 1920s and early 1930s included sexual innuendo, miscegenation, profanity, illegal drug use, promiscuity, prostitution, infidelity, abortion, intense violence, and homosexuality." - Wikipedia