Skip to content

Commit 7bb11b8

Browse files
authored
Merge pull request #7788 from yoff/python/remove-library-annotation
Approved by tausbn
2 parents 712418e + 211345c commit 7bb11b8

File tree

2 files changed

+172
-172
lines changed

2 files changed

+172
-172
lines changed

python/ql/lib/semmle/python/AstExtended.qll

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,33 +62,33 @@ abstract class AstNode extends AstNode_ {
6262

6363
/* Parents */
6464
/** Internal implementation class */
65-
library class FunctionParent extends FunctionParent_ { }
65+
class FunctionParent extends FunctionParent_ { }
6666

6767
/** Internal implementation class */
68-
library class ArgumentsParent extends ArgumentsParent_ { }
68+
class ArgumentsParent extends ArgumentsParent_ { }
6969

7070
/** Internal implementation class */
71-
library class ExprListParent extends ExprListParent_ { }
71+
class ExprListParent extends ExprListParent_ { }
7272

7373
/** Internal implementation class */
74-
library class ExprContextParent extends ExprContextParent_ { }
74+
class ExprContextParent extends ExprContextParent_ { }
7575

7676
/** Internal implementation class */
77-
library class StmtListParent extends StmtListParent_ { }
77+
class StmtListParent extends StmtListParent_ { }
7878

7979
/** Internal implementation class */
80-
library class StrListParent extends StrListParent_ { }
80+
class StrListParent extends StrListParent_ { }
8181

8282
/** Internal implementation class */
83-
library class ExprParent extends ExprParent_ { }
83+
class ExprParent extends ExprParent_ { }
8484

8585
/** Internal implementation class */
8686
class PatternListParent extends PatternListParent_ { }
8787

8888
/** Internal implementation class */
89-
library class PatternParent extends PatternParent_ { }
89+
class PatternParent extends PatternParent_ { }
9090

91-
library class DictItem extends DictItem_, AstNode {
91+
class DictItem extends DictItem_, AstNode {
9292
override string toString() { result = DictItem_.super.toString() }
9393

9494
override AstNode getAChildNode() { none() }
@@ -171,9 +171,9 @@ class ExprList extends ExprList_ {
171171
/** A list of patterns */
172172
class PatternList extends PatternList_ { }
173173

174-
library class DictItemList extends DictItemList_ { }
174+
class DictItemList extends DictItemList_ { }
175175

176-
library class DictItemListParent extends DictItemListParent_ { }
176+
class DictItemListParent extends DictItemListParent_ { }
177177

178178
/** A list of strings (the primitive type string not Bytes or Unicode) */
179179
class StringList extends StringList_ { }

0 commit comments

Comments
 (0)