From 89b447aeefa30ff85e6ee41dd04994b66738dcf6 Mon Sep 17 00:00:00 2001
From: Anton Akhmerov <anton.akhmerov@gmail.com>
Date: Wed, 10 Apr 2013 14:31:42 -0400
Subject: [PATCH] minor docstring improvement

---
 kwant/physics/selfenergy.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kwant/physics/selfenergy.py b/kwant/physics/selfenergy.py
index 1b5ace6..e741a66 100644
--- a/kwant/physics/selfenergy.py
+++ b/kwant/physics/selfenergy.py
@@ -628,7 +628,7 @@ def modes(h_onslice, h_hop, tol=1e6):
 
     Returns
     -------
-    (vecs, vecslmbdainv, nmodes, svd) : Modes
+    Modes(vecs, vecslmbdainv, nmodes, svd) : a named tuple
         `vecs` is the matrix of eigenvectors of the translation operator.
         `vecslmbdainv` is the matrix of eigenvectors multiplied with their
         corresponding inverse eigenvalue.  `nmodes` is the number of
-- 
GitLab