class_docstr: Object representing a locale.
  
  After calling one of `load_translations` or `load_gettext_translations`,
  call `get` or `get_closest` to get a Locale object.
docstr: Returns a comma-separated number for the given integer.
docstr_tok: ["Returns","a","comma-separated","number","for","the","given","integer","."]
code: def friendly_number(self, value: int) -> str:
      """Returns a comma-separated number for the given integer."""
      if self.code not in ("en", "en_US"):
          return str(value)
      s = str(value)
      parts = []
      while s:
          parts.append(s[-3:])
          s = s[:-3]
      return ",".join(reversed(parts))
  
imports: import codecs
  import csv
  import datetime
  import gettext
  import glob
  import os
  import re
  from tornado import escape
  from tornado.log import gen_log
  from tornado._locale_data import LOCALE_NAMES
  from typing import Iterable, Any, Union, Dict, Optional
label_desc: Use image node_id 9 for calling the Locale obj's underlying member method code with example usage: obj.friendly_number(value) and returns: str, str