Skip to content

Commit a0dfbfd

Browse files
RasmusWLtausbn
andauthored
Python: Fix grammar in qldoc
Co-authored-by: Taus <[email protected]>
1 parent 1f93e5b commit a0dfbfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPrivate.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)