Skip to content

Conversation

mitsuhiko
Copy link
Owner

@mitsuhiko mitsuhiko commented Aug 28, 2025

This adds experimental tuple support to MiniJinja. It's a backwards incompatible change.

  • Added proper tuple literal support to the template engine
  • Tuples now render with Python-style formatting: (item1, item2, ...)
  • Single-item tuples display with trailing comma: (item,)
  • Tuples are functionally equivalent to lists but have distinct visual representation

Refs #785

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.

1 participant