Sfoglia il codice sorgente

Documented the parameter to SinkConfig.from_text

Clara Hobbs 7 anni fa
parent
commit
eb46ce6cde
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3
    1
      pdbuddy/__init__.py

+ 3
- 1
pdbuddy/__init__.py Vedi File

@@ -268,7 +268,9 @@ class SinkConfig:
268 268
     @classmethod
269 269
     def from_text(cls, text):
270 270
         """Creates a SinkConfig from text returned by Sink.send_command
271
-        
271
+
272
+        :param text: the text to load
273
+        :type text: a list of bytes objects
272 274
         :returns: a new `SinkConfig` object.
273 275
 
274 276
         :raises: IndexError

Loading…
Annulla
Salva