From b7319742b33b1cc435ab9a0ad24787c619c9101c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 29 Jul 2011 09:32:09 -0400 Subject: [PATCH] Quote 'name' in AFMPiezo doctest. --- pypiezo/afm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pypiezo/afm.py b/pypiezo/afm.py index af96713..8430ba6 100644 --- a/pypiezo/afm.py +++ b/pypiezo/afm.py @@ -73,7 +73,7 @@ class AFMPiezo (_base.Piezo): >>> axis_config = config.AxisConfig() >>> axis_config.update( - ... {name: 'z', 'gain':20, 'sensitivity':8e-9, 'minimum':-9}) + ... {'name': 'z', 'gain':20, 'sensitivity':8e-9, 'minimum':-9}) >>> axis_config['channel'] = config.OutputChannelConfig() >>> input_config = config.InputChannelConfig() >>> input_config['name'] = 'deflection' -- 2.26.2