From 71071bcfd36bed13b110931a6cc8189a1493dd2a Mon Sep 17 00:00:00 2001
From: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue, 3 Jan 2012 20:26:29 +0100
Subject: srd: Remove decode() docstrings.

This info is in the decoder's metadata, where the frontends can get it
from programmatically anyway.
---
 decoders/i2c.py               | 2 --
 decoders/nunchuk.py           | 2 --
 decoders/transitioncounter.py | 3 ---
 decoders/uart.py              | 2 --
 4 files changed, 9 deletions(-)

(limited to 'decoders')

diff --git a/decoders/i2c.py b/decoders/i2c.py
index e082763..cf16d3a 100644
--- a/decoders/i2c.py
+++ b/decoders/i2c.py
@@ -323,8 +323,6 @@ class Decoder(sigrok.Decoder):
         super(Decoder, self).put(timeoffset, duration, output_id, data)
 
     def decode(self, timeoffset, duration, data):
-        """I2C protocol decoder"""
-
         self.timeoffset = timeoffset
         self.duration = duration
         print("++", timeoffset, duration, len(data))
diff --git a/decoders/nunchuk.py b/decoders/nunchuk.py
index cc1252c..d330747 100644
--- a/decoders/nunchuk.py
+++ b/decoders/nunchuk.py
@@ -110,8 +110,6 @@ class Decoder(sigrok.Decoder):
         pass
 
     def decode(self, timeoffset, duration, data):
-        """Nintendo Wii Nunchuk decoder"""
-
         out = []
         o = {}
 
diff --git a/decoders/transitioncounter.py b/decoders/transitioncounter.py
index 70f1f1a..846e9d9 100644
--- a/decoders/transitioncounter.py
+++ b/decoders/transitioncounter.py
@@ -68,9 +68,6 @@ class Decoder(sigrok.Decoder):
         pass
 
     def decode(self, timeoffset, duration, data):
-        """Counts the low->high and high->low transitions in the specified
-           channel(s) of the signal."""
-
         # We should accept a list of samples and iterate...
         for sample in sampleiter(data, self.unitsize):
 
diff --git a/decoders/uart.py b/decoders/uart.py
index 7a63d77..66deb5e 100644
--- a/decoders/uart.py
+++ b/decoders/uart.py
@@ -395,8 +395,6 @@ class Decoder(sigrok.Decoder):
         return o
 
     def decode(self, timeoffset, duration, data):
-        """UART protocol decoder"""
-
         out = []
 
         for sample in sampleiter(data, self.unitsize):
-- 
cgit v1.2.3-70-g09d2