code: def add_alias(alias, canonical):
      """Add a character set alias.
  
      alias is the alias name, e.g. latin-1
      canonical is the character set's canonical name, e.g. iso-8859-1
      """
      ALIASES[alias] = canonical
  
file_path: cpython/Lib/email/charset.py
imports: from functools import partial
  import email.base64mime
  import email.quoprimime
  from email import errors
  from email.encoders import encode_7or8bit
label_desc: Use image node_id 2 for calling a global function with example usage: add_alias(alias, canonical) without return types