code: def patch(self, nml_patch):
          
          for sec in nml_patch:
              if sec not in self:
                  self[sec] = Namelist()
              self[sec].update(nml_patch[sec])
docs: Update the namelist from another partial or full namelist.
  
          This is different from the intrinsic `update()` method, which replaces
          a namelist section.  Rather, it updates the values within a section.