original_docstring: 
      Format the value like a 'human-readable' file size (i.e. 13 KB, 4.1 MB, 102
      bytes, etc).
      
docstring: Format the value like a 'human-readable' file size .
docstring_tokens: Format the value like a ' human - readable ' file size .
code: def do_filesizeformat():
      """
      Format the value like a 'human-readable' file size (i.e. 13 KB, 4.1 MB, 102
      bytes, etc).
      """
      def wrapped(env, context, value):
          # fail silently
          try:
              bytes = float(value)
          except TypeError:
              bytes = 0
  
          if bytes < 1024:
              return "%d Byte%s" % (bytes, bytes != 1 and 's' or '')
          elif bytes < 1024 * 1024:
              return "%.1f KB" % (bytes / 1024)
          elif bytes < 1024 * 1024 * 1024:
              return "%.1f MB" % (bytes / (1024 * 1024))
          return "%.1f GB" % (bytes / (1024 * 1024 * 1024))
      return wrapped
code_tokens: def do_filesizeformat ( ) : def wrapped ( env , context , value ) : try : bytes = float ( value ) except TypeError : bytes = 0 if bytes < 1024 : return "%d Byte%s" % ( bytes , bytes != 1 and 's' or '' ) elif bytes < 1024 * 1024 : return "%.1f KB" % ( bytes / 1024 ) elif bytes < 1024 * 1024 * 1024 : return "%.1f MB" % ( bytes / ( 1024 * 1024 ) ) return "%.1f GB" % ( bytes / ( 1024 * 1024 * 1024 ) ) return wrapped
short_docstring: Format the value like a 'human-readable' file size (i.e.
short_docstring_tokens: Format the value like a ' human - readable ' file size ( i . e .
comment: """
      Format the value like a 'human-readable' file size (i.e. 13 KB, 4.1 MB, 102
      bytes, etc).
      """$SEP$# fail silently