micropython.api

changeset 9
843f5ea906d7
parent 5
f88ec514175f
--- a/micropython.api	Thu Aug 29 19:05:30 2019 +0200
+++ b/micropython.api	Thu Aug 29 19:06:37 2019 +0200
@@ -28,8 +28,6 @@
 esp.flash_erase?4(sector_no)
 esp.flash_id?4()
 esp.flash_read?4(byte_offset, length_or_buffer)
-esp.flash_size?4()
-esp.flash_user_start?4()
 esp.flash_write?4(byte_offset, bytes)
 esp.set_native_code_location?4(start, length)
 esp.sleep_type?4(sleep_type=None)
@@ -79,8 +77,7 @@
 gc.enable?4()
 gc.mem_alloc?4()
 gc.mem_free?4()
-gc.threshold?4()
-gc.threshold?4(amount)
+gc.threshold?4(amount=None)
 lcd160cr.LANDSCAPE?7
 lcd160cr.LANDSCAPE_UPSIDEDOWN?7
 lcd160cr.LCD160CR.dot?4(x, y)
@@ -609,7 +606,7 @@
 sys.modules?7
 sys.path?7
 sys.platform?7
-sys.print_exception?4(exc, file=sys.stdout)
+sys.print_exception?4(exc, file=stdout)
 sys.stderr?7
 sys.stdin?7
 sys.stdout?7
@@ -676,13 +673,13 @@
 uerrno.errorcode?7
 uhashlib.md5.digest?4()
 uhashlib.md5.update?4(data)
-uhashlib.md5?1(data=bytes())
+uhashlib.md5?1(data=None)
 uhashlib.sha1.digest?4()
 uhashlib.sha1.update?4(data)
-uhashlib.sha1?1(data=bytes())
+uhashlib.sha1?1(data=None)
 uhashlib.sha256.digest?4()
 uhashlib.sha256.update?4(data)
-uhashlib.sha256?1(data=bytes())
+uhashlib.sha256?1(data=None)
 uheapq.heapify?4(x)
 uheapq.heappop?4(heap)
 uheapq.heappush?4(heap, item)

eric ide

mercurial