From 4f51c1e043ee22e34435f4d82ec9947a1ac8c789 Mon Sep 17 00:00:00 2001 From: Olivier Parcollet Date: Sat, 31 May 2014 18:51:50 +0200 Subject: [PATCH] Correction. - forgot the doc file. - minor correction for wrapping application --- .../python/wrap_generator/cfunction.rst | 7 +++++++ doc/reference/python/wrap_generator/class.rst | 7 +++++++ .../python/wrap_generator/contents.rst | 20 +++++++++++++++++++ .../python/wrap_generator/module.rst | 9 +++++++++ pytriqs/gf/local/gf_desc.py | 3 +-- pytriqs/operators/operators2_desc.py | 4 +--- pytriqs/wrap_generator/wrap_generator.py | 2 +- 7 files changed, 46 insertions(+), 6 deletions(-) create mode 100644 doc/reference/python/wrap_generator/cfunction.rst create mode 100644 doc/reference/python/wrap_generator/class.rst create mode 100644 doc/reference/python/wrap_generator/contents.rst create mode 100644 doc/reference/python/wrap_generator/module.rst diff --git a/doc/reference/python/wrap_generator/cfunction.rst b/doc/reference/python/wrap_generator/cfunction.rst new file mode 100644 index 00000000..8f8026cb --- /dev/null +++ b/doc/reference/python/wrap_generator/cfunction.rst @@ -0,0 +1,7 @@ +The cfunction class +----------------------- + +.. autoclass:: pytriqs.wrap_generator.wrap_generator.cfunction + :members: + :undoc-members: + diff --git a/doc/reference/python/wrap_generator/class.rst b/doc/reference/python/wrap_generator/class.rst new file mode 100644 index 00000000..4979b51e --- /dev/null +++ b/doc/reference/python/wrap_generator/class.rst @@ -0,0 +1,7 @@ +The class_ class +----------------------- + +.. autoclass:: pytriqs.wrap_generator.wrap_generator.class_ + :members: + :undoc-members: + diff --git a/doc/reference/python/wrap_generator/contents.rst b/doc/reference/python/wrap_generator/contents.rst new file mode 100644 index 00000000..777b0d19 --- /dev/null +++ b/doc/reference/python/wrap_generator/contents.rst @@ -0,0 +1,20 @@ +.. index:: wrapper + +.. module:: pytriqs.wrap_generator.wrap_generator + +.. _wrapper: + +C++/Python wrapper generator +======================================= + +Reference doc. Intro. to be written. + +.. toctree:: + :maxdepth: 1 + + module + class + cfunction + example + + diff --git a/doc/reference/python/wrap_generator/module.rst b/doc/reference/python/wrap_generator/module.rst new file mode 100644 index 00000000..8108506b --- /dev/null +++ b/doc/reference/python/wrap_generator/module.rst @@ -0,0 +1,9 @@ + +The module_ class +----------------------- + +.. autoclass:: pytriqs.wrap_generator.wrap_generator.module_ + :members: + :undoc-members: + + diff --git a/pytriqs/gf/local/gf_desc.py b/pytriqs/gf/local/gf_desc.py index f39db33d..0f4e148f 100644 --- a/pytriqs/gf/local/gf_desc.py +++ b/pytriqs/gf/local/gf_desc.py @@ -470,6 +470,5 @@ module.add_function(name = "make_gf_from_inverse_fourier", signature="gf_view