Skip to content

Commit

Permalink
Fix minor typos in docs (#22866)
Browse files Browse the repository at this point in the history
## Summary & Motivation

This PR fixes minor typos in docs.
  • Loading branch information
gtim authored Jul 8, 2024
1 parent eb9bee2 commit b259d46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ When defined, asset descriptions will be displayed in the Dagster UI alongside t

## Using docstrings

As you went through this course, you might have noticed that the asests all contain **docstrings.** A [Python docstring, or documentation string](https://www.datacamp.com/tutorial/docstrings-python), embeds documentation about a class, module, function, or method definition in the code itself. While code comments serve a similar purpose, docstrings support built-in Python functionality, like [`help`](https://docs.python.org/3/library/functions.html#help).
As you went through this course, you might have noticed that the assets all contain **docstrings.** A [Python docstring, or documentation string](https://www.datacamp.com/tutorial/docstrings-python), embeds documentation about a class, module, function, or method definition in the code itself. While code comments serve a similar purpose, docstrings support built-in Python functionality, like [`help`](https://docs.python.org/3/library/functions.html#help).

Docstrings are defined by including a string, surrounded by triple quotes (`”””`) as the first statement in an object’s definition. For example:

Expand Down

0 comments on commit b259d46

Please sign in to comment.