From 2dbe9822c6bafeb11181d2cef220c6a03b109bed Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Sun, 23 Oct 2022 16:06:20 +0200 Subject: [PATCH 1/3] Fix: typo Fix: typo --- docs/interfaces.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/interfaces.rst b/docs/interfaces.rst index dcd48a145d..2696eb30dc 100644 --- a/docs/interfaces.rst +++ b/docs/interfaces.rst @@ -145,7 +145,7 @@ Searching For Interface Files When looking for a file to import, Vyper will first search relative to the same folder as the contract being compiled. For absolute imports, it also searches relative to the root path for the project. Vyper checks for the file name with a ``.vy`` suffix first, then ``.json``. -When using the command line compiler, the root path defaults to to the current working directory. You can change it with the ``-p`` flag: +When using the command line compiler, the root path defaults to the current working directory. You can change it with the ``-p`` flag: :: From c05cddfb8faee41cf43bc3d3197b6084bff5ac32 Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Sun, 23 Oct 2022 16:07:28 +0200 Subject: [PATCH 2/3] Fix: typo Fix: typo --- docs/control-structures.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/control-structures.rst b/docs/control-structures.rst index a28f85215d..ed7abcaf1d 100644 --- a/docs/control-structures.rst +++ b/docs/control-structures.rst @@ -222,7 +222,7 @@ The ``for`` statement is a control flow construct used to iterate over a value: for i in : ... -The iterated value can be a static array, or generated from the builtin ``range`` function. +The iterated value can be a static array, or generated from the built-in ``range`` function. Array Iteration --------------- From 26cf625d006c6306d9436ffa62ec5f31c06a3978 Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Sun, 23 Oct 2022 16:09:08 +0200 Subject: [PATCH 3/3] Fix: typo Fix: typo --- docs/compiling-a-contract.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/compiling-a-contract.rst b/docs/compiling-a-contract.rst index 1984faa4c7..4a03347536 100644 --- a/docs/compiling-a-contract.rst +++ b/docs/compiling-a-contract.rst @@ -92,7 +92,7 @@ Importing Interfaces 1. Interfaces defined in the ``interfaces`` field of the input JSON. 2. Derived interfaces generated from contracts in the ``sources`` field of the input JSON. -3. (Optional) The local filesystem, if a root path was explicitely declared via the ``-p`` flag. +3. (Optional) The local filesystem, if a root path was explicitly declared via the ``-p`` flag. See :ref:`searching_for_imports` for more information on Vyper's import system.