From 43bbd160f277ed6cdb8b5f322dbbf4458cd0c031 Mon Sep 17 00:00:00 2001 From: Mitchel Humpherys <mitchelh@codeaurora.org> Date: Mon, 14 Jul 2014 17:49:12 -0700 Subject: [PATCH] lrdp-v2: register.py: rest-ify some docs Some of the documentation in register.py doesn't render nicely when built with Sphinx. Fix this. Change-Id: Ifdb0da6c21f092b58c51be8f566a7a4e5cab984b --- linux-ramdump-parser-v2/register.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-ramdump-parser-v2/register.py b/linux-ramdump-parser-v2/register.py index bba985d..d681a34 100644 --- a/linux-ramdump-parser-v2/register.py +++ b/linux-ramdump-parser-v2/register.py @@ -18,7 +18,7 @@ class Register(object): bits). Provides easy read and write access to the fields in the register by taking care of all bit-shifting automatically. Fields can be defined at __init__ time using kwargs or can be added - dynamically with `add_field'. Fields are accessible as instance + dynamically with ``add_field``. Fields are accessible as instance attributes. For example: @@ -64,7 +64,7 @@ class Register(object): >>> hex(abc.value) '0x5' - We also handle `None' values: + We also handle ``None`` values: >>> r = Register(None, h=(3,0)) >>> r -- GitLab