code: def __init__(self, file, protocol=None, **kwargs):
      if sys.version_info < (3, 8) and not protocol or protocol > 4:
          protocol = 4
      super().__init__(file, protocol=protocol, **kwargs)
  
imports: import sys
  from cloudpickle import Pickler
label_desc: Use image node_id 1 to create a new Pickler object from inherited base classes: _CloudPickler with example: obj = Pickler(file, protocol)