pidl:Python: improve the .doc string for the get/set elements
authorStefan Metzmacher <metze@samba.org>
Tue, 13 Sep 2016 07:07:32 +0000 (09:07 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 26 Oct 2016 09:20:18 +0000 (11:20 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
pidl/lib/Parse/Pidl/Samba4/Python.pm

index fabdca7b1bf258c394bab91e2e23647c786804aa..c72d8fe34ec7dc59b2a157143a983c8783817e2f 100644 (file)
@@ -242,7 +242,7 @@ sub PythonStruct($$$$$$)
                        $self->pidl(".name = discard_const_p(char, \"$e->{NAME}\"),");
                        $self->pidl(".get = py_$name\_get_$e->{NAME},");
                        $self->pidl(".set = py_$name\_set_$e->{NAME},");
-                       $self->pidl(".doc = discard_const_p(char, \"PIDL-generated element $e->{NAME}\")");
+                       $self->pidl(".doc = discard_const_p(char, \"PIDL-generated element of base type $e->{TYPE}\")");
                        $self->deindent;
                        $self->pidl("},");
                }