We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 321eb8f commit ec205beCopy full SHA for ec205be
mypy/options.py
@@ -178,7 +178,9 @@ def __ne__(self, other: object) -> bool:
178
return not self == other
179
180
def __repr__(self) -> str:
181
- return 'Options({})'.format(pprint.pformat(self.__dict__))
+ d = dict(self.__dict__)
182
+ del d['clone_cache']
183
+ return 'Options({})'.format(pprint.pformat(d))
184
185
def clone_for_module(self, module: str) -> 'Options':
186
"""Create an Options object that incorporates per-module options.
0 commit comments