mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-01 21:24:50 +00:00
Inherit from StopAsyncIteration
This commit is contained in:
parent
cfcc4195ae
commit
bd56c428c6
1 changed files with 2 additions and 2 deletions
|
|
@ -17,11 +17,11 @@
|
|||
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
class StopPropagation(StopIteration):
|
||||
class StopPropagation(StopAsyncIteration):
|
||||
pass
|
||||
|
||||
|
||||
class ContinuePropagation(StopIteration):
|
||||
class ContinuePropagation(StopAsyncIteration):
|
||||
pass
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue