File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
python/ql/src/semmle/python/frameworks Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -341,10 +341,8 @@ private module Stdlib {
341
341
// ---------------------------------------------------------------------------
342
342
// pickle
343
343
// ---------------------------------------------------------------------------
344
- private string pickleModuleName ( ) { result in [ "pickle" , "cPickle" , "_pickle" ] }
345
-
346
344
/** Gets a reference to the `pickle` module. */
347
- deprecated DataFlow:: Node pickle ( ) {
345
+ DataFlow:: Node pickle ( ) {
348
346
result = API:: moduleImport ( [ "pickle" , "cPickle" , "_pickle" ] ) .getAUse ( )
349
347
}
350
348
@@ -578,7 +576,7 @@ private module Stdlib {
578
576
// json
579
577
// ---------------------------------------------------------------------------
580
578
/** Gets a reference to the `json` module. */
581
- API:: Node json ( ) { result = API:: moduleImport ( "node " ) }
579
+ API:: Node json ( ) { result = API:: moduleImport ( "json " ) }
582
580
583
581
/**
584
582
* Gets a reference to the attribute `attr_name` of the `json` module.
You can’t perform that action at this time.
0 commit comments