Skip to content

Commit 100ea76

Browse files
committed
Fix reference to dependencies in pyproject.toml
1 parent 8def4c1 commit 100ea76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package-structure-code/declare-dependencies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ within the code of your project or during development of your package.
3535

3636

3737
### Understanding optional vs. required dependencies
38-
You can think about dependencies as being either optional or required. If they are required, they will be listed in the `[dependency] =` table of your `pyproject.toml` file. If they are optional, they will be listed in the `[optional.dependencies]` table of your `pyproject.toml`.
38+
You can think about dependencies as being either optional or required. If they are required, they will be listed in the `dependency` key in the `project` table of your `pyproject.toml` file. If they are optional, they will be listed in the `[optional.dependencies]` table of your `pyproject.toml`.
3939

4040
You will learn about both below.
4141

0 commit comments

Comments
 (0)