From 65be65c5d6cbdea3108d02e9b4656dfc692ecf12 Mon Sep 17 00:00:00 2001 From: Danilo Piparo <danilo.piparo@cern.ch> Date: Thu, 1 Nov 2018 21:34:29 +0100 Subject: [PATCH] [Exp PyROOT] TFile::Open, TDirectory::WriteObject pyz:improve help strings --- bindings/pyroot_experimental/PyROOT/src/PyROOTModule.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bindings/pyroot_experimental/PyROOT/src/PyROOTModule.cxx b/bindings/pyroot_experimental/PyROOT/src/PyROOTModule.cxx index 3eda9904aba..bfb52c3387c 100644 --- a/bindings/pyroot_experimental/PyROOT/src/PyROOTModule.cxx +++ b/bindings/pyroot_experimental/PyROOT/src/PyROOTModule.cxx @@ -28,12 +28,13 @@ PyObject *gRootModule = 0; // Methods offered by the interface static PyMethodDef gPyROOTMethods[] = {{(char *)"AddDirectoryWritePyz", (PyCFunction)PyROOT::AddDirectoryWritePyz, METH_VARARGS, - (char *)"Pythonization of TDirectory::WriteObject"}, + (char *)"Allow to use seamlessly from Python the templated TDirectory::WriteObject method"}, {(char *)"AddDirectoryAttrSyntaxPyz", (PyCFunction)PyROOT::AddDirectoryAttrSyntaxPyz, METH_VARARGS, (char *)"Attr syntax for TDirectory"}, {(char *)"AddBranchAttrSyntax", (PyCFunction)PyROOT::AddBranchAttrSyntax, METH_VARARGS, (char *)"Allow to access branches as tree attributes"}, - {(char *)"AddFileOpenPyz", (PyCFunction)PyROOT::AddFileOpenPyz, METH_VARARGS, (char *)"Pythonization of TFile::Open"}, + {(char *)"AddFileOpenPyz", (PyCFunction)PyROOT::AddFileOpenPyz, METH_VARARGS, + (char *)"Make TFile::Open a constructor, adjusting for example the reference count"}, {(char *)"SetBranchAddressPyz", (PyCFunction)PyROOT::SetBranchAddressPyz, METH_VARARGS, (char *)"Fully enable the use of TTree::SetBranchAddress from Python"}, {(char *)"BranchPyz", (PyCFunction)PyROOT::BranchPyz, METH_VARARGS, -- GitLab