Skip to content
This repository has been archived by the owner on Sep 14, 2018. It is now read-only.

Commit

Permalink
fixed typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
paweljasinski committed Nov 20, 2014
1 parent 3714255 commit 1517596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Languages/IronPython/IronPython/Runtime/Generator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ private object NextWorker() {
// 2. Exit normally: _next returns false.
// 3. Exit with a StopIteration exception: for-loops and other enumeration consumers will
// catch this and terminate the loop without propogating the exception.
// 4. Exit via some other unhandled exception: This will close the generator, but the exception still propogates.
// 4. Exit via some other unhandled exception: This will close the generator, but the exception still propagates.
// _next does not return, so ret is left assigned to false (closed), which we detect in the finally.
if (!(ret = GetNext())) {
CurrentValue = OperationFailed.Value;
Expand Down

0 comments on commit 1517596

Please sign in to comment.