Question: In what year did Pope Benedict XV revise the Code of Canon Law?
Sentence: With the revision of the Code of Canon Law promulgated in 1917 by Pope Benedict XV, only those who are already priests or bishops may be appointed cardinals.
Answer in sentence: yes