File tree 1 file changed +6
-6
lines changed
python/ql/lib/semmle/python
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
import python
2
2
3
3
/** Retained for backwards compatibility use ClassObject.isIterator() instead. */
4
- predicate is_iterator ( ClassObject c ) { c .isIterator ( ) }
4
+ deprecated predicate is_iterator ( ClassObject c ) { c .isIterator ( ) }
5
5
6
6
/** Retained for backwards compatibility use ClassObject.isIterable() instead. */
7
- predicate is_iterable ( ClassObject c ) { c .isIterable ( ) }
7
+ deprecated predicate is_iterable ( ClassObject c ) { c .isIterable ( ) }
8
8
9
9
/** Retained for backwards compatibility use ClassObject.isCollection() instead. */
10
- predicate is_collection ( ClassObject c ) { c .isCollection ( ) }
10
+ deprecated predicate is_collection ( ClassObject c ) { c .isCollection ( ) }
11
11
12
12
/** Retained for backwards compatibility use ClassObject.isMapping() instead. */
13
- predicate is_mapping ( ClassObject c ) { c .isMapping ( ) }
13
+ deprecated predicate is_mapping ( ClassObject c ) { c .isMapping ( ) }
14
14
15
15
/** Retained for backwards compatibility use ClassObject.isSequence() instead. */
16
- predicate is_sequence ( ClassObject c ) { c .isSequence ( ) }
16
+ deprecated predicate is_sequence ( ClassObject c ) { c .isSequence ( ) }
17
17
18
18
/** Retained for backwards compatibility use ClassObject.isContextManager() instead. */
19
- predicate is_context_manager ( ClassObject c ) { c .isContextManager ( ) }
19
+ deprecated predicate is_context_manager ( ClassObject c ) { c .isContextManager ( ) }
You can’t perform that action at this time.
0 commit comments