Skip to content

Commit c9ea10b

Browse files
erik-kroghRasmusWL
andauthored
revise some Python names
Co-authored-by: Rasmus Wriedt Larsen <[email protected]>
1 parent 26d8553 commit c9ea10b

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

python/ql/lib/semmle/python/frameworks/Multidict.qll

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ private import semmle.python.frameworks.internal.InstanceTaintStepsHelper
1616
* Provides models for the `multidict` PyPI package.
1717
* See https://multidict.readthedocs.io/en/stable/.
1818
*/
19-
module MultiDict {
19+
module Multidict {
2020
/**
2121
* Provides models for a `MultiDictProxy` class:
2222
* - `multidict.MultiDictProxy`
@@ -88,6 +88,3 @@ module MultiDict {
8888
}
8989
}
9090
}
91-
92-
/** DEPRECATED: Alias for MultiDict */
93-
deprecated module Multidict = MultiDict;

python/ql/lib/semmle/python/frameworks/Stdlib.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1877,7 +1877,7 @@ private module StdlibPrivate {
18771877
API::Node http() { result = API::moduleImport("http") }
18781878

18791879
/** Provides models for the `http` module. */
1880-
module StdHttp {
1880+
module StdlibHttp {
18811881
// -------------------------------------------------------------------------
18821882
// http.server
18831883
// -------------------------------------------------------------------------

python/ql/lib/semmle/python/frameworks/Yarl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ module Yarl {
102102
}
103103

104104
/** An attribute read on a `yarl.URL` that is a `MultiDictProxy` instance. */
105-
class YarlUrlMultiDictProxyInstance extends MultiDict::MultiDictProxy::InstanceSource {
105+
class YarlUrlMultiDictProxyInstance extends Multidict::MultiDictProxy::InstanceSource {
106106
YarlUrlMultiDictProxyInstance() {
107107
this.(DataFlow::AttrRead).getObject() = Yarl::Url::instance() and
108108
this.(DataFlow::AttrRead).getAttributeName() = "query"

0 commit comments

Comments
 (0)