From 2ba5c27e40822e1a4075068d95f694593b94aa5a Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Sun, 15 Feb 2015 17:33:18 -0600 Subject: [PATCH] Doc fixes --- loopy/kernel/data.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/loopy/kernel/data.py b/loopy/kernel/data.py index eae4008b8..6473ee779 100644 --- a/loopy/kernel/data.py +++ b/loopy/kernel/data.py @@ -371,9 +371,9 @@ class TemporaryVariable(ArrayBase): class SubstitutionRule(Record): """ - :ivar name: - :ivar arguments: - :ivar expression: + .. attribute:: name + .. attribute:: arguments + .. attribute:: expression """ def __init__(self, name, arguments, expression): @@ -411,10 +411,11 @@ class InstructionBase(Record): .. attribute:: insn_deps - a list of ids of :class:`Instruction` instances that *must* be executed - before this one. Note that :func:`loopy.preprocess_kernel` (usually - invoked automatically) augments this by adding dependencies on any - writes to temporaries read by this instruction. + a :class:`frozenset` of :attr:`id` values of :class:`Instruction` instances that + *must* be executed before this one. Note that + :func:`loopy.preprocess_kernel` (usually invoked automatically) + augments this by adding dependencies on any writes to temporaries read + by this instruction. May be *None* to invoke the default. -- GitLab