Explorar o código

Correct example code s/self/sign

Will Nowak %!s(int64=12) %!d(string=hai) anos
pai
achega
4638e9fed9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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