class_docstr: A ResourceBundle manages internationalization of string resources
docstr: Get the value of ``item`` from this or a parent ResourceBundle
  
  :param str item: The key to look up
  :param str __default: A default value that is returned if the key can't be found anywhere
  :return: The value
docstr_tok: ["Get","the","value","of","``","item","``","from","this","or","a","parent","ResourceBundle",":","param","str","item",":","The","key","to","look","up",":","param","str","__default",":","A","default","value","that","is","returned","if","the","key","ca","n't","be","found","anywhere",":","return",":","The","value"]
code: def get(self, item: str, __default: str = None) -> str:
      """
      Get the value of ``item`` from this or a parent ResourceBundle
  
      :param str item: The key to look up
      :param str __default: A default value that is returned if the key can't be found anywhere
      :return: The value
      """
      # found in mapping
      if self._mapping.get(item) is not None:
          return self._mapping.get(item)
  
      # ask parent
      if self._parent is not None:
          return self._parent.get(item)
  
      # is root bundle (has no parent)
      if __default is not None:
          return __default
  
      raise NotInResourceBundleError(self.name, item)
  
imports: from __future__ import annotations
  import codecs
  import os
  import re
  from os import PathLike
  from pathlib import Path
  from typing import KeysView, Sequence
  from .exceptions import MalformedResourceBundleError, NotInResourceBundleError
label_desc: Use image node_id 11 for calling the ResourceBundle obj's underlying member method code with example usage: obj.get(item, __default) and returns: self, self, __default