parameters: (self, tarinfo, targetpath)
docstring: Set modification time of targetpath according to tarinfo.
docstring_summary: Set modification time of targetpath according to tarinfo.
docstring_tokens: Set modification time of targetpath according to tarinfo .
function: def utime(self, tarinfo, targetpath):
          """Set modification time of targetpath according to tarinfo.
          """
          if not hasattr(os, 'utime'):
              return
          try:
              os.utime(targetpath, (tarinfo.mtime, tarinfo.mtime))
          except EnvironmentError as e:
              raise ExtractError("could not change modification time")
function_tokens: def utime ( self , tarinfo , targetpath ) : if not hasattr ( os , 'utime' ) : return try : os . utime ( targetpath , ( tarinfo . mtime , tarinfo . mtime ) ) except EnvironmentError as e : raise ExtractError ( "could not change modification time" )