[pytango] 366/483: Implement #102

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:15:00 UTC 2017


This is an automated email from the git hooks/post-receive script.

sbodomerle-guest pushed a commit to annotated tag bliss_8.10
in repository pytango.

commit c38c3e74079e4013a7122e8aa1976806e874bad0
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Tue Apr 1 09:11:54 2014 +0000

    Implement #102
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@25331 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 src/boost/python/device_server.py | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/boost/python/device_server.py b/src/boost/python/device_server.py
index b853213..068b567 100644
--- a/src/boost/python/device_server.py
+++ b/src/boost/python/device_server.py
@@ -873,8 +873,8 @@ def __doc_DeviceImpl():
                      attribute type and format.
                      for SPECTRUM and IMAGE attributes, data can be any type of sequence of elements
                      compatible with the attribute type
-            - str_data : (str) special variation for DevEncoded data type. In this case 'data' must also
-                         be a str.
+            - str_data : (str) special variation for DevEncoded data type. In this case 'data' must
+                         be a str or an object with the buffer interface.
             - except: (DevFailed) Instead of data, you may want to send an exception.
             - dim_x : (int) the attribute x length. Default value is 1
             - dim_y : (int) the attribute y length. Default value is 0
@@ -901,8 +901,8 @@ def __doc_DeviceImpl():
                      attribute type and format.
                      for SPECTRUM and IMAGE attributes, data can be any type of sequence of elements
                      compatible with the attribute type
-            - str_data : (str) special variation for DevEncoded data type. In this case 'data' must also
-                         be a str.
+            - str_data : (str) special variation for DevEncoded data type. In this case 'data' must
+                         be a str or an object with the buffer interface.
             - except: (DevFailed) Instead of data, you may want to send an exception.
             - dim_x : (int) the attribute x length. Default value is 1
             - dim_y : (int) the attribute y length. Default value is 0
@@ -930,8 +930,8 @@ def __doc_DeviceImpl():
                      attribute type and format.
                      for SPECTRUM and IMAGE attributes, data can be any type of sequence of elements
                      compatible with the attribute type
-            - str_data : (str) special variation for DevEncoded data type. In this case 'data' must also
-                         be a str.
+            - str_data : (str) special variation for DevEncoded data type. In this case 'data' must
+                         be a str or an object with the buffer interface.
             - dim_x : (int) the attribute x length. Default value is 1
             - dim_y : (int) the attribute y length. Default value is 0
             - time_stamp : (double) the time stamp
@@ -1562,8 +1562,8 @@ def __doc_Attribute():
                      for IMAGE attributes.
                      The recommended sequence is a C continuous and aligned numpy
                      array, as it can be optimized.
-            - str_data : (str) special variation for DevEncoded data type. In this case 'data' must also
-                         be a str.
+            - str_data : (str) special variation for DevEncoded data type. In this case 'data' must
+                         be a str or an object with the buffer interface.
             - dim_x : (int) [DEPRECATED] the attribute x length. Default value is 1
             - dim_y : (int) [DEPRECATED] the attribute y length. Default value is 0
         Return     : None
@@ -1588,8 +1588,8 @@ def __doc_Attribute():
                      for IMAGE attributes.
                      The recommended sequence is a C continuous and aligned numpy
                      array, as it can be optimized.
-            - str_data : (str) special variation for DevEncoded data type. In this case 'data' must also
-                         be a str.
+            - str_data : (str) special variation for DevEncoded data type. In this case 'data' must
+                         be a str or an object with the buffer interface.
             - dim_x : (int) [DEPRECATED] the attribute x length. Default value is 1
             - dim_y : (int) [DEPRECATED] the attribute y length. Default value is 0
             - time_stamp : (double) the time stamp

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git



More information about the debian-science-commits mailing list