Merge pull request #5490 from RasmusWL/private-imports

Python: Make import private for better auto-complete
This commit is contained in:
Taus
2021-03-23 12:00:35 +01:00
committed by GitHub
2 changed files with 2 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
* directed and labeled; they specify how the components represented by nodes relate to each other.
*/
import python
private import python
import semmle.python.dataflow.new.DataFlow
/**

View File

@@ -3,6 +3,7 @@
import DataFlowUtil
import DataFlowPublic
private import DataFlowPrivate
private import semmle.python.types.Builtins
/**
* A data flow node that reads or writes an attribute of an object.
@@ -84,8 +85,6 @@ private class AttributeAssignmentAsAttrWrite extends AttrWrite, CfgNode {
override string getAttributeName() { result = node.getName() }
}
import semmle.python.types.Builtins
/** Represents `CallNode`s that may refer to calls to built-in functions or classes. */
private class BuiltInCallNode extends CallNode {
string name;