changeset 732:44d6ac417bca

Fixed indention and collapsed automethod directives.
author Martin Geisler <mg@daimi.au.dk>
date Thu, 24 Apr 2008 14:52:16 +0200
parents e5c8d22434d4
children 1f206d21e988
files doc/field.txt
diffstat 1 files changed, 11 insertions(+), 30 deletions(-) [+]
line wrap: on
line diff
--- a/doc/field.txt	Thu Apr 24 14:47:49 2008 +0200
+++ b/doc/field.txt	Thu Apr 24 14:52:16 2008 +0200
@@ -4,39 +4,20 @@
 
 .. automodule:: viff.field
 
-.. autoclass:: viff.field.FieldElement
+   .. autoclass:: FieldElement
 
-.. autoclass:: viff.field.GF256
+   .. autoclass:: GF256
+      :members: __add__, __mul__, __pow__, __div__, __neg__, __invert__, __eq__, __nonzero__
 
-   .. attribute:: GF256.modulus
+      .. attribute:: GF256.modulus
 
-      Field modulus, always 256.
+         Field modulus, always 256.
 
-   .. automethod:: GF256.__add__
+      .. method:: GF256.__sub__(other)
+                  GF256.__xor__(other)
 
-   .. method:: GF256.__sub__(other)
-               GF256.__xor__(other)
+         Subtraction and exclusive-or. Since GF(2^8) has
+         characteristic 2, these two operations are identical to
+         addition.
 
-      Subtraction and exclusive-or. Since GF(2^8) has characteristic
-      2, these two operations are identical to addition.
-
-   .. automethod:: GF256.__mul__
-
-   .. automethod:: GF256.__pow__
-
-   .. automethod:: GF256.__div__
-
-   .. automethod:: GF256.__neg__
-
-   .. automethod:: GF256.__invert__
-
-   .. automethod:: GF256.__str__
-
-   .. automethod:: GF256.__eq__
-
-   .. automethod:: GF256.__hash__
-
-   .. automethod:: GF256.__nonzero__
-
-
-.. autofunction:: viff.field.GF
+   .. autofunction:: GF