byexamples / byexamples/byexample

Make possible to change < and > (the tags' delimiters) by two other chars

Open
#32 1 comment 0 reactions 0 assignees View on GitHub
enhancement far in the future
Dominant language
Python
Stars
67
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Consider the following python example taken from the official documentation:

```python
>>> fib

```

If we want to execute this we need to remove the memory address as this is likely to change from one run to another.

Using ``<...>`` is the correct solution *but*, the expected string is already using ``<`` and ``>`` so we cannot distinguish a literal ``<`` from the begin of a tag.

We need some way to change the delimiters, something like:
```python
>>> fib # byexample: +tags=()

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.