diff --git a/kwant/builder.py b/kwant/builder.py
index eed56df510b06020768baff426586d499ef195bc..b0962a89140c0f4146b16c41d0f71447954ccce8 100644
--- a/kwant/builder.py
+++ b/kwant/builder.py
@@ -648,7 +648,7 @@ class Builder:
 
     Print the value of a site.
 
-    >>> print builder[site]
+    >>> print(builder[site])
 
     Define a hopping.