diff options
author | Armin Rigo <arigo@tunes.org> | 2016-06-03 14:12:15 +0200 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2016-06-03 14:12:15 +0200 |
commit | 3d35c7a67d331b6d485614f59a8afb040b92dc96 (patch) | |
tree | 41905b8dd34fe060353f4e3a26120489927a8355 /cffi/api.py | |
parent | 6af80f7e63b0ce92b5b8945695cf11447a2a0bf5 (diff) | |
download | cffi-3d35c7a67d331b6d485614f59a8afb040b92dc96.tar.gz |
Fix docstrings
Diffstat (limited to 'cffi/api.py')
-rw-r--r-- | cffi/api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cffi/api.py b/cffi/api.py index fce04cc..e4d7e39 100644 --- a/cffi/api.py +++ b/cffi/api.py @@ -332,8 +332,8 @@ class FFI(object): def from_buffer(self, python_buffer): """Return a <cdata 'char[]'> that points to the data of the given Python object, which must support the buffer interface. - Note that this is not meant to be used on the built-in types str, - unicode, or bytearray (you can build 'char[]' arrays explicitly) + Note that this is not meant to be used on the built-in types + str or unicode (you can build 'char[]' arrays explicitly) but only on objects containing large quantities of raw data in some other format, like 'array.array' or numpy arrays. """ |