[pypy-commit] pypy faster-rstruct-2: add docstring
antocuni
pypy.commits at gmail.com
Fri May 5 12:46:34 EDT 2017
Author: Antonio Cuni <anto.cuni at gmail.com>
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
More information about the pypy-commit
mailing list