Skip to content

Commit ad73ee3

Browse files
committed
uasyncio.core: Use finalized name for call_later_ms().
1 parent 61392cb commit ad73ee3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

uasyncio.core/uasyncio/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def time(self):
2525

2626
def create_task(self, coro):
2727
# CPython 3.4.2
28-
self.call_later_ms_(0, coro)
28+
self.call_later_ms(0, coro)
2929
# CPython asyncio incompatibility: we don't return Task object
3030

3131
def call_soon(self, callback, *args):
@@ -34,7 +34,7 @@ def call_soon(self, callback, *args):
3434
def call_later(self, delay, callback, *args):
3535
self.call_at(time.ticks_add(self.time(), int(delay * 1000)), callback, *args)
3636

37-
def call_later_ms_(self, delay, callback, args=()):
37+
def call_later_ms(self, delay, callback, args=()):
3838
self.call_at_(time.ticks_add(self.time(), delay), callback, args)
3939

4040
def call_at(self, time, callback, *args):
@@ -124,7 +124,7 @@ def run_forever(self):
124124
if __debug__ and DEBUG:
125125
log.debug("Coroutine finished: %s", cb)
126126
continue
127-
self.call_later_ms_(delay, cb, args)
127+
self.call_later_ms(delay, cb, args)
128128

129129
def run_until_complete(self, coro):
130130
def _run_and_stop():

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy