File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
python/ql/lib/semmle/python/dataflow/new/internal Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ module EssaFlow {
308308 // note: we allow this for both `with` and `async with`, since some
309309 // implementations do `async def __aenter__(self): return self`, so you can do
310310 // both:
311- // * `foo = x.foo(); await foo.async_methoid (); foo.close()` and
311+ // * `foo = x.foo(); await foo.async_method (); foo.close()` and
312312 // * `async with x.foo() as foo: await foo.async_method()`.
313313 )
314314 or
@@ -322,7 +322,7 @@ module EssaFlow {
322322 // We have this step in addition to the step above, to handle cases where the QL
323323 // modeling of `f(42)` requires a `.getAwaited()` step (in API graphs) when not
324324 // using `async with`, so you can do both:
325- // * `foo = await x.foo(); await foo.async_methoid (); foo.close()` and
325+ // * `foo = await x.foo(); await foo.async_method (); foo.close()` and
326326 // * `async with x.foo() as foo: await foo.async_method()`.
327327 exists ( With with , ControlFlowNode var |
328328 nodeFrom .( CfgNode ) .getNode ( ) = var and
You can’t perform that action at this time.
0 commit comments