MCPcopy Index your code
hub / github.com/python/cpython / delete

Method delete

Lib/ftplib.py:600–606  ·  view source on GitHub ↗

Delete a file.

(self, filename)

Source from the content-addressed store, hash-verified

598 return self.voidcmd('RNTO ' + toname)
599
600 def delete(self, filename):
601 '''Delete a file.'''
602 resp = self.sendcmd('DELE ' + filename)
603 if resp[:3] in {'250', '200'}:
604 return resp
605 else:
606 raise error_reply(resp)
607
608 def cwd(self, dirname):
609 '''Change to a directory.'''

Callers 6

toMethod · 0.45
killAnimationsOfMethod · 0.45
_deleteMethod · 0.45
notifyTestsDiscoveredMethod · 0.45
notifyRunningMethod · 0.45
paintMethod · 0.45

Calls 2

sendcmdMethod · 0.95
error_replyClass · 0.85

Tested by 3

notifyTestsDiscoveredMethod · 0.36
notifyRunningMethod · 0.36
paintMethod · 0.36