8000 Show render return values in Python examples by Aschenbath · Pull Request #135 · noahmorrison/chevron · GitHub
[go: up one dir, main page]

Skip to content

Show render return values in Python examples - #135

Open
Aschenbath wants to merge 1 commit into
noahmorrison:mainfrom
Aschenbath:docs/render-return-values-97-20261120
Open

Aschenbath wants to merge 1 commit into
noahmorrison:mainfrom
Aschenbath:docs/render-return-values-97-20261120

Conversation

@Aschenbath
Copy link
Copy Markdown

Show the return value in every Python usage example by assigning chevron.render() to rendered. Explain that the result is a string and print it in the first example, so readers can see how to display the rendered output.

Fixes #97.

Executed all six README Python examples with temporary template and partial files. Each assigns a rendered string; the first five produce Hello, World!, and the lambda example renders its foo and injected data values. The first example's printed output was also checked. git diff --check passes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Code examples suggest the render function doesn't return anything

1 participant

0