summaryrefslogtreecommitdiffstats
path: root/third_party/python/attrs/attr/filters.pyi
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/attrs/attr/filters.pyi')
-rw-r--r--third_party/python/attrs/attr/filters.pyi6
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/python/attrs/attr/filters.pyi b/third_party/python/attrs/attr/filters.pyi
new file mode 100644
index 0000000000..8a02fa0fc0
--- /dev/null
+++ b/third_party/python/attrs/attr/filters.pyi
@@ -0,0 +1,6 @@
+from typing import Any, Union
+
+from . import Attribute, _FilterType
+
+def include(*what: Union[type, str, Attribute[Any]]) -> _FilterType[Any]: ...
+def exclude(*what: Union[type, str, Attribute[Any]]) -> _FilterType[Any]: ...