Files
codeql/python/ql/test/library-tests/descriptors/Properties.ql
Erik Krogh Kristensen ff73dbc35c delete redundant imports
2022-04-22 12:55:28 +02:00

11 lines
282 B
Plaintext

import python
from PropertyValue p, string method_name, FunctionValue method
where
method_name = "getter" and method = p.getGetter()
or
method_name = "setter" and method = p.getSetter()
or
method_name = "deleter" and method = p.getDeleter()
select method, method_name, p