uasyncio.core: Typo fix in recently added .create_task() method.

pull/13/merge
Paul Sokolovsky 2014-11-13 06:36:45 +02:00
rodzic c1159a477e
commit b88cb425f8
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -1,6 +1,6 @@
srctype = micropython-lib srctype = micropython-lib
type = package type = package
version = 0.8 version = 0.8.1
author = Paul Sokolovsky author = Paul Sokolovsky
long_desc = Lightweight asyncio-like library built around native Python coroutines, not around un-Python devices like callback mess. (Core event loop). long_desc = Lightweight asyncio-like library built around native Python coroutines, not around un-Python devices like callback mess. (Core event loop).
depends = heapq, logging depends = heapq, logging

Wyświetl plik

@ -6,7 +6,7 @@ from setuptools import setup
setup(name='micropython-uasyncio.core', setup(name='micropython-uasyncio.core',
version='0.8', version='0.8.1',
description='uasyncio.core module for MicroPython', description='uasyncio.core module for MicroPython',
long_description='Lightweight asyncio-like library built around native Python coroutines, not around un-Python devices like callback mess. (Core event loop).', long_description='Lightweight asyncio-like library built around native Python coroutines, not around un-Python devices like callback mess. (Core event loop).',
url='https://github.com/micropython/micropython/issues/405', url='https://github.com/micropython/micropython/issues/405',

Wyświetl plik

@ -18,7 +18,7 @@ class EventLoop:
def create_task(self, coro): def create_task(self, coro):
# CPython 3.4.2 # CPython 3.4.2
self.call_at(0, callback) self.call_at(0, coro)
# CPython asyncio incompatibility: we don't return Task object # CPython asyncio incompatibility: we don't return Task object
def call_soon(self, callback, *args): def call_soon(self, callback, *args):