code: def _make_pretty_usage(usage):
      """
      Makes the usage description pretty and returns a formatted string if `usage`
      is not an empty string. Otherwise, returns None.
      """
  
      if usage is not None and usage.strip() != "":
          usage = "\n".join(map(lambda u: u.strip(), usage.split("\n")))
          return "%s\n\n" % usage
  
file_path: spark/sql/gen-sql-api-docs.py
imports: import os
  from collections import namedtuple
  from pyspark.java_gateway import launch_gateway
label_desc: Use image node_id 2 for calling a global function with example usage: _make_pretty_usage(usage) and returns: unknown