Author: Antonio Cuni <[email protected]>
Branch: faster-rstruct-2
Changeset: r91186:49b58714e115
Date: 2017-05-05 15:24 +0200
http://bitbucket.org/pypy/pypy/changeset/49b58714e115/
Log: add docstring
diff --git a/rpython/rlib/buffer.py b/rpython/rlib/buffer.py
--- a/rpython/rlib/buffer.py
+++ b/rpython/rlib/buffer.py
@@ -86,6 +86,9 @@
@specialize.ll_and_arg(1)
def typed_read(self, TP, byte_offset):
+ """
+ Read the value of type TP starting at byte_offset. No bounds checks
+ """
raise CannotRead
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit