Skip to content

Commit 3463889

Browse files
committed
Python: Add comments
1 parent 385e213 commit 3463889

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

python/ql/src/experimental/dataflow/internal/DataFlowPublic.qll

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,10 @@ class ModuleVariableNode extends Node, TModuleVariableNode {
266266
override Location getLocation() { result = mod.getLocation() }
267267
}
268268

269+
/**
270+
* The node holding the extra positional arguments to a call. This node is passed as a tuple
271+
* to the starred parameter of the callable.
272+
*/
269273
class PosOverflowNode extends Node, TPosOverflowNode {
270274
CallNode call;
271275

@@ -276,6 +280,10 @@ class PosOverflowNode extends Node, TPosOverflowNode {
276280
override Location getLocation() { result = call.getLocation() }
277281
}
278282

283+
/**
284+
* The node holding the extra keyword arguments to a call. This node is passed as a dictionary
285+
* to the doubly starred parameter of the callable.
286+
*/
279287
class KwOverflowNode extends Node, TKwOverflowNode {
280288
CallNode call;
281289

@@ -286,6 +294,10 @@ class KwOverflowNode extends Node, TKwOverflowNode {
286294
override Location getLocation() { result = call.getLocation() }
287295
}
288296

297+
/**
298+
* The node representing the synthetic argument of a call that is unpacked from a dictionary
299+
* argument.
300+
*/
289301
class KwUnpacked extends Node, TKwUnpacked {
290302
CallNode call;
291303
string name;

0 commit comments

Comments
 (0)