dry-python / dry-python/lambdas

Bug in the docs

Open
#176 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
286
Forks
6
PR merge metrics
No merged PRs in 30d

Description

```python
>>> complex_math_expression = 50 / (_ ** 2) * 2
>>> print(complex_math_expression(5))
100.0
```

But:

```python
>>> 50 / (5 ** 2) * 2
4.0
```

Not good :)

Contributor guide

Open the contributing guide

Research direction

Locate the documentation example containing `complex_math_expression` and compare its displayed result with the direct Python expression shown in the issue. Correct the example or its expected output so the documented behavior matches Python, then verify the documentation build or relevant documentation checks if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.