diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2014-02-22 09:39:19 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2014-02-22 09:39:19 +0100 |
commit | 13b89088afac67240d70844b17d61a41eb41e322 (patch) | |
tree | 22dd308f3f300e7719b8698e30c3214b7871912e | |
parent | a6267fc076a15dc6cee36d9ca470d85a21504066 (diff) | |
download | cython-13b89088afac67240d70844b17d61a41eb41e322.tar.gz |
add references to buffer format type documentation
-rw-r--r-- | Cython/Utility/Buffer.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Cython/Utility/Buffer.c b/Cython/Utility/Buffer.c index 534a997cc..1357f4807 100644 --- a/Cython/Utility/Buffer.c +++ b/Cython/Utility/Buffer.c @@ -199,7 +199,10 @@ nofail: Buffer type checking. Utility code for checking that acquired buffers match our assumptions. We only need to check ndim and the format string; the access mode/flags is checked by the - exporter. + exporter. See: + + http://docs.python.org/3/library/struct.html + http://legacy.python.org/dev/peps/pep-3118/#additions-to-the-struct-string-syntax The alignment code is copied from _struct.c in Python. }} |