Searched refs:__warn__ (Results 1 – 2 of 2) sorted by relevance
34 __warn__ = False variable in COWDictMeta71 if not cls.__warn__ is False and not isinstance(value, COWMeta):72 print("Warning: Doing a copy because %s is a mutable type." % key, file=cls.__warn__)152 if not cls.__warn__ is False and cls.__hasmutable__ and readonly is False:153 …rint("Warning: If you aren't going to change any of the values call with True.", file=cls.__warn__)157 if not cls.__warn__ is False and cls.__hasmutable__ and readonly is False:158 …rint("Warning: If you aren't going to change any of the values call with True.", file=cls.__warn__)
29 COWDictBase.__warn__ = self._warning_file32 COWDictBase.__warn__ = sys.stderr