Searched refs:__warn__ (Results 1 – 2 of 2) sorted by relevance
34 __warn__ = False variable in COWDictMeta72 if not cls.__warn__ is False and not isinstance(value, COWMeta):73 print("Warning: Doing a copy because %s is a mutable type." % key, file=cls.__warn__)153 if not cls.__warn__ is False and cls.__hasmutable__ and readonly is False:154 …rint("Warning: If you aren't going to change any of the values call with True.", file=cls.__warn__)158 if not cls.__warn__ is False and cls.__hasmutable__ and readonly is False:159 …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