Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
comparison docs/intro.rst @ 147:df9b4962c203
Remove the Python "code-block" that has been used for development (comparison) reasons
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 07 May 2026 13:26:01 +0200 |
| parents | b616f9645e37 |
| children | 4acf578ae93f |
comparison
equal
deleted
inserted
replaced
| 146:ca5b31a30cea | 147:df9b4962c203 |
|---|---|
| 53 | 53 |
| 54 .. literalinclude:: example-1.pseudocode | 54 .. literalinclude:: example-1.pseudocode |
| 55 :language: NoEndAlgPseudocode | 55 :language: NoEndAlgPseudocode |
| 56 :lines: 2- | 56 :lines: 2- |
| 57 | 57 |
| 58 Python: | |
| 59 | |
| 60 .. code-block:: python | |
| 61 | |
| 62 class HUHU: | |
| 63 | |
| 64 # This is a comment | |
| 65 @classmethod | |
| 66 def method1(cls_, aparam1, param2): | |
| 67 return aparam1 + param2 | |
| 68 | |
| 69 | |
| 70 This is Wikipedia's description of *Dinic's Algorithm* | 58 This is Wikipedia's description of *Dinic's Algorithm* |
| 71 (see https://en.wikipedia.org/wiki/Dinic%27s_algorithm): | 59 (see https://en.wikipedia.org/wiki/Dinic%27s_algorithm): |
| 72 | 60 |
| 73 .. literalinclude:: algorithm-dinic.description | 61 .. literalinclude:: algorithm-dinic.description |
| 74 :language: algpseudocode | 62 :language: algpseudocode |
