summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/python/pmt
diff options
context:
space:
mode:
authorBen Reynwar <ben@reynwar.net>2013-05-10 04:16:57 -0700
committerBen Reynwar <ben@reynwar.net>2013-05-10 04:16:57 -0700
commit318da62b6104e4bca182d94aec4abc0618debffd (patch)
tree3a21fa44f40ae5f6d00d051d26fc7dd11bbea0fc /gnuradio-runtime/python/pmt
parente4048a3ecdfae50e3077515d0f49b49911cc4909 (diff)
docstrings: Improving subpackage docstrings.
Diffstat (limited to 'gnuradio-runtime/python/pmt')
-rw-r--r--gnuradio-runtime/python/pmt/__init__.py16
1 files changed, 15 insertions, 1 deletions
diff --git a/gnuradio-runtime/python/pmt/__init__.py b/gnuradio-runtime/python/pmt/__init__.py
index bc933e80a5..7900a6e7a8 100644
--- a/gnuradio-runtime/python/pmt/__init__.py
+++ b/gnuradio-runtime/python/pmt/__init__.py
@@ -22,7 +22,21 @@
# The presence of this file turns this directory into a Python package
'''
-The GNU Radio Utility Etcetera Library's Polymorphic Types for Python.
+Polymorphic Types.
+
+The type can really be used to store anything, but also has simple
+conversion methods for common data types such as bool, long, or a
+vector.
+
+The polymorphic type simplifies message passing between blocks, as all
+of the data is of the same type, including the message. Tags also use
+PMTs as data type, so a stream tag can be of any logical data type. In
+a sense, PMTs are a way to extend C++' strict typing with something
+more flexible.
+
+The PMT library supports the following major types:
+bool, symbol (string), integer, real, complex, null, pair, list,
+vector, dict, uniform_vector, any (boost::any cast)
'''
from pmt_swig import *