Skip to content

Commit

Permalink
ruff_python_formatter: add link to doctest regex internals
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntSushi committed Dec 1, 2023
1 parent 0b3c38a commit 6361b07
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -565,8 +565,10 @@ enum CodeExampleKind {
/// found as part of the Python standard library:
/// https://docs.python.org/3/library/doctest.html.
///
/// (You'll likely need to read the regex matching used internally by the
/// (You'll likely need to read the [regex matching] used internally by the
/// doctest module to determine more precisely how it works.)
///
/// [regex matching]: https://github.com/python/cpython/blob/0ff6368519ed7542ad8b443de01108690102420a/Lib/doctest.py#L611-L622
Doctest(CodeExampleDoctest),
}

Expand Down

0 comments on commit 6361b07

Please sign in to comment.