Ver Fonte

Fixed two typos in docstring.

Sander Mathijs van Veen há 14 anos atrás
pai
commit
a25fe844d5
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/possibilities.py

+ 2 - 2
src/possibilities.py

@@ -32,11 +32,11 @@ def filter_duplicates(possibilities):
     """
     Filter duplicated possibilities. Duplicated possibilities occur in n-ary
     nodes, the root-level node and a lower-level node will both recognize a
-    rewrite possibility within their sscope, whereas only the root-level one
+    rewrite possibility within their scope, whereas only the root-level one
     matters.
 
     Example: 1 + 2 + 3
-    The addition of 1 and 2 is recognized bij n-ary additions "1 + 2" and
+    The addition of 1 and 2 is recognized by n-ary additions "1 + 2" and
     "1 + 2 + 3". The "1 + 2" addition should be removed by this function.
     """
     features = []