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 {
308
308
// note: we allow this for both `with` and `async with`, since some
309
309
// implementations do `async def __aenter__(self): return self`, so you can do
310
310
// both:
311
- // * `foo = x.foo(); await foo.async_methoid (); foo.close()` and
311
+ // * `foo = x.foo(); await foo.async_method (); foo.close()` and
312
312
// * `async with x.foo() as foo: await foo.async_method()`.
313
313
)
314
314
or
@@ -322,7 +322,7 @@ module EssaFlow {
322
322
// We have this step in addition to the step above, to handle cases where the QL
323
323
// modeling of `f(42)` requires a `.getAwaited()` step (in API graphs) when not
324
324
// 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
326
326
// * `async with x.foo() as foo: await foo.async_method()`.
327
327
exists ( With with , ControlFlowNode var |
328
328
nodeFrom .( CfgNode ) .getNode ( ) = var and
You can’t perform that action at this time.
0 commit comments