aboutsummaryrefslogtreecommitdiffstats
path: root/python/attr/_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/attr/_config.py')
-rw-r--r--python/attr/_config.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/python/attr/_config.py b/python/attr/_config.py
deleted file mode 100644
index 8ec9209..0000000
--- a/python/attr/_config.py
+++ /dev/null
@@ -1,23 +0,0 @@
-from __future__ import absolute_import, division, print_function
-
-
-__all__ = ["set_run_validators", "get_run_validators"]
-
-_run_validators = True
-
-
-def set_run_validators(run):
- """
- Set whether or not validators are run. By default, they are run.
- """
- if not isinstance(run, bool):
- raise TypeError("'run' must be bool.")
- global _run_validators
- _run_validators = run
-
-
-def get_run_validators():
- """
- Return whether or not validators are run.
- """
- return _run_validators