Skip to content

Commit 44a27c3

Browse files
committed
Python: Add a few addition qldoc comments.
1 parent 63f24df commit 44a27c3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

python/ql/src/semmle/python/objects/ObjectAPI.qll

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ abstract class FunctionValue extends CallableValue {
410410

411411
}
412412

413+
/** Class representing Python functions */
413414
class PythonFunctionValue extends FunctionValue {
414415

415416
PythonFunctionValue() {
@@ -422,6 +423,7 @@ class PythonFunctionValue extends FunctionValue {
422423

423424
}
424425

426+
/** Class representing builtin functions, such as `len` or `print` */
425427
class BuiltinFunctionValue extends FunctionValue {
426428

427429
BuiltinFunctionValue() {
@@ -434,6 +436,7 @@ class BuiltinFunctionValue extends FunctionValue {
434436

435437
}
436438

439+
/** Class representing builtin methods, such as `list.append` or `set.add` */
437440
class BuiltinMethodValue extends FunctionValue {
438441

439442
BuiltinMethodValue() {
@@ -450,6 +453,8 @@ class BuiltinMethodValue extends FunctionValue {
450453

451454
}
452455

456+
/** A class representing sequence objects with a length and tracked items.
457+
*/
453458
class SequenceValue extends Value {
454459

455460
SequenceValue() {
@@ -466,6 +471,7 @@ class SequenceValue extends Value {
466471

467472
}
468473

474+
/** A class representing tuple objects */
469475
class TupleValue extends SequenceValue {
470476

471477
TupleValue() {

0 commit comments

Comments
 (0)