Fix 'intil_state' -> 'initial_state' typo in pysawsim.sawsim.Event.
authorW. Trevor King <wking@drexel.edu>
Wed, 20 Oct 2010 09:53:17 +0000 (05:53 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 20 Oct 2010 09:53:17 +0000 (05:53 -0400)
pysawsim/sawsim.py

index 4b1e37775aeba0ffa1dedd1c201ed25390d5b60d..00dea1ab77fd9bd78324a18b6bea880aa2f7d272 100644 (file)
@@ -31,7 +31,7 @@ from collections import namedtuple
 
 Event = namedtuple(
     typename='Event',
-    field_names=['force', 'intial_state', 'final_state'])
+    field_names=['force', 'initial_state', 'final_state'])
 
 
 def parse(text):
@@ -51,7 +51,7 @@ def parse(text):
     >>> len(events)
     8
     >>> events[0]  # doctest: +ELLIPSIS
-    Event(force=2.9030...e-10, intial_state='folded', final_state='unfolded')
+    Event(force=2.9030...e-10, initial_state='folded', final_state='unfolded')
     """
     for line in text.splitlines():
         line = line.strip()