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

Class SameFileError

Lib/shutil.py:78–79  ·  view source on GitHub ↗

Raised when source and destination are the same file.

Source from the content-addressed store, hash-verified

76 pass
77
78class SameFileError(Error):
79 """Raised when source and destination are the same file."""
80
81class SpecialFileError(OSError):
82 """Raised when trying to do a kind of operation (e.g. copying) which is

Callers 1

copyfileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…