eric7/DebugClients/Python/coverage/disposition.py

branch
eric7
changeset 8991
2fc945191992
parent 8929
fcca2fa618bf
equal deleted inserted replaced
8990:ca8e477c590c 8991:2fc945191992
4 """Simple value objects for tracking what to do with files.""" 4 """Simple value objects for tracking what to do with files."""
5 5
6 6
7 class FileDisposition: 7 class FileDisposition:
8 """A simple value type for recording what to do with a file.""" 8 """A simple value type for recording what to do with a file."""
9 pass 9
10 def __repr__(self):
11 return f"<FileDisposition {self.canonical_filename!r}: trace={self.trace}>"
10 12
11 13
12 # FileDisposition "methods": FileDisposition is a pure value object, so it can 14 # FileDisposition "methods": FileDisposition is a pure value object, so it can
13 # be implemented in either C or Python. Acting on them is done with these 15 # be implemented in either C or Python. Acting on them is done with these
14 # functions. 16 # functions.

eric ide

mercurial