code: def get_cwidth(string):
      """
      Return width of a string. Wrapper around ``wcwidth``.
      """
      return _CHAR_SIZES_CACHE[string]
  
imports: from __future__ import unicode_literals
  import inspect
  import os
  import signal
  import sys
  import threading
  import weakref
  from wcwidth import wcwidth
  from six.moves import range
label_desc: Use image node_id 2 for calling a global function with example usage: get_cwidth(string) and returns: _CHAR_SIZES_CACHE