class_docstr: A Lion class complements its inherited parent with additional information neeeded by
  the Lion Optimization Algorithm.
class_docstr_tok: ["A","Lion","class","complements","its","inherited","parent","with","additional","information","neeeded","by","the","Lion","Optimization","Algorithm","."]
code: def p_fit(self, p_fit: float) -> None:
      if not isinstance(p_fit, (float, int, np.int32, np.int64)):
          raise e.TypeError("`p_fit` should be a float or integer")
  
      self._p_fit = p_fit
  
imports: import copy
  import itertools
  from typing import Any, Dict, List, Optional, Tuple, Union
  import numpy
  import opytimizer.math.distribution
  import opytimizer.math.general
  import opytimizer.math.random
  import opytimizer.utils.constant
  import opytimizer.utils.exception
  from opytimizer.core import Agent, Optimizer
  from opytimizer.core.function import Function
  from opytimizer.core.space import Space
  from opytimizer.utils import logging
label_desc: Use image node_id 5 for calling the Lion obj's underlying member method code with example usage: obj.p_fit(p_fit) without return types