code: def close_ns(symbol):
          '''generates a closing names statement from a symbol'''
          closing = ' '.join(['}' for x in symbol.module.name_parts])
          name = '::'.join(symbol.module.name_parts)
          return '{0} // namespace {1}'.format(closing, namef close_ns(symbol):
          '''generates a closing names statement from a symbol'''
          closing = ' '.join(['}' for x in symbol.module.name_parts])
          name = '::'.join(symbol.module.name_parts)
          return '{0} // namespace {1}'.format(closing, name)
docs: generates a closing names statement from a symbol