From 50ec27862e5be0fb3e8e73e89e02c8f3d55a7295 Mon Sep 17 00:00:00 2001
From: Anton Akhmerov <anton.akhmerov@gmail.com>
Date: Mon, 31 Dec 2018 12:46:40 +0100
Subject: [PATCH] correctly use raw strings with backslashes

---
 kwant/physics/noise.py  | 2 +-
 kwant/solvers/common.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kwant/physics/noise.py b/kwant/physics/noise.py
index de8d1334..b565885f 100644
--- a/kwant/physics/noise.py
+++ b/kwant/physics/noise.py
@@ -13,7 +13,7 @@ __all__ = ['two_terminal_shotnoise']
 
 
 def two_terminal_shotnoise(smatrix):
-    """Compute the shot-noise in a two-terminal setup.
+    r"""Compute the shot-noise in a two-terminal setup.
 
     In a two terminal system the shot noise is given by `tr((1 - t*t^\dagger) *
     t*t^\dagger)`.
diff --git a/kwant/solvers/common.py b/kwant/solvers/common.py
index 57c6fd35..2c3f87a6 100644
--- a/kwant/solvers/common.py
+++ b/kwant/solvers/common.py
@@ -555,7 +555,7 @@ class SparseSolver(metaclass=abc.ABCMeta):
 
     def wave_function(self, sys, energy=0, args=(), check_hermiticity=True,
                       *, params=None):
-        """
+        r"""
         Return a callable object for the computation of the wave function
         inside the scattering region.
 
-- 
GitLab