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 {
341341 // ---------------------------------------------------------------------------
342342 // pickle
343343 // ---------------------------------------------------------------------------
344- private string pickleModuleName ( ) { result in [ "pickle" , "cPickle" , "_pickle" ] }
345-
346344 /** Gets a reference to the `pickle` module. */
347- deprecated DataFlow:: Node pickle ( ) {
345+ DataFlow:: Node pickle ( ) {
348346 result = API:: moduleImport ( [ "pickle" , "cPickle" , "_pickle" ] ) .getAUse ( )
349347 }
350348
@@ -578,7 +576,7 @@ private module Stdlib {
578576 // json
579577 // ---------------------------------------------------------------------------
580578 /** Gets a reference to the `json` module. */
581- API:: Node json ( ) { result = API:: moduleImport ( "node " ) }
579+ API:: Node json ( ) { result = API:: moduleImport ( "json " ) }
582580
583581 /**
584582 * Gets a reference to the attribute `attr_name` of the `json` module.
You can’t perform that action at this time.
0 commit comments