parameters: (
          self, max_width: int, complete_state: CompletionState
      )
docstring: Return the width of the meta column.
docstring_summary: Return the width of the meta column.
docstring_tokens: Return the width of the meta column .
function: def _get_menu_meta_width(
          self, max_width: int, complete_state: CompletionState
      ) -> int:
          """
          Return the width of the meta column.
          """
  
          def meta_width(completion: Completion) -> int:
              return get_cwidth(completion.display_meta_text)
  
          if self._show_meta(complete_state):
              return min(
                  max_width, max(meta_width(c) for c in complete_state.completions) + 2
              )
          else:
              return 0
function_tokens: def _get_menu_meta_width ( self , max_width : int , complete_state : CompletionState ) -> int : def meta_width ( completion : Completion ) -> int : return get_cwidth ( completion . display_meta_text ) if self . _show_meta ( complete_state ) : return min ( max_width , max ( meta_width ( c ) for c in complete_state . completions ) + 2 ) else : return 0