Contents:
Print a warning message when a deprecated name is used.
old (str) -- The old name.
new (str) -- The new name.