浏览代码

Correct example code s/self/sign

Will Nowak 12 年之前
父节点
当前提交
4638e9fed9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      alphasign/__init__.py

+ 1 - 1
alphasign/__init__.py

@@ -25,7 +25,7 @@ Here is a simple example for controlling a Betabrite Prism via USB::
 
     # write objects
     for obj in (counter_str, counter_txt):
-      self.write(obj)
+      sign.write(obj)
 
     # (strictly) monotonically increasing counter
     counter_value = 0