From 211630594c19af3d3ba7640be2caf86fcdf3e0c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sun, 29 Sep 2019 19:08:36 +0200 Subject: [PATCH] Memory view --- README.md | 2 +- index.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ba23b0a..42bd172 100644 --- a/README.md +++ b/README.md @@ -1964,10 +1964,10 @@ Memory View .write() # Writes mview to a binary file. = bytes() # Creates a new bytes object. = .join() # Joins mviews using bytes object as sep. + = list() # Returns list of ints or floats. ``` ```python - = list() # Returns list of ints or floats. = str(, 'utf-8') = int.from_bytes(, byteorder='big|little', signed=False) '' = .hex() diff --git a/index.html b/index.html index da740ef..606e554 100644 --- a/index.html +++ b/index.html @@ -1744,9 +1744,9 @@ db = connector.connect(host=<str>, user=<str>, password=<str>,
<bin_file>.write(<mview>)                      # Writes mview to a binary file.
 <bytes> = bytes(<mview>)                       # Creates a new bytes object.
 <bytes> = <bytes>.join(<coll_of_mviews>)       # Joins mviews using bytes object as sep.
+<list>  = list(<mview>)                        # Returns list of ints or floats.
 
-
<list>  = list(<mview>)                        # Returns list of ints or floats.
-<str>   = str(<mview>, 'utf-8')
+
<str>   = str(<mview>, 'utf-8')
 <int>   = int.from_bytes(<mview>, byteorder='big|little', signed=False)
 '<hex>' = <mview>.hex()