From 36b194453d8e363ecc0e7f7112cbbcf850004ce3 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Fri, 25 Dec 2020 13:16:45 +1100 Subject: [PATCH] docs: fix simple typo, subtituted -> substituted There is a small typo in tangent/naming.py. Should read `substituted` rather than `subtituted`. --- tangent/naming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tangent/naming.py b/tangent/naming.py index 364a1d6..5f99988 100644 --- a/tangent/naming.py +++ b/tangent/naming.py @@ -95,7 +95,7 @@ class Namer(object): """Generate human-readable names for AST nodes. Given an AST node, this class tries to produce a sensible variable name - that it could be subtituted with. + that it could be substituted with. In principle, it will try to construct sensible names from the operands and operator e.g. `x + y` becomes `x_plus_y`. However, the length of these