From: W. Trevor King Date: Fri, 29 Jul 2011 13:32:09 +0000 (-0400) Subject: Quote 'name' in AFMPiezo doctest. X-Git-Tag: 0.6~48 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b7319742b33b1cc435ab9a0ad24787c619c9101c;p=pypiezo.git Quote 'name' in AFMPiezo doctest. --- 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'