meta-pytorch / meta-pytorch/data
[TODO] use regex to replace all "T" and "T_co" related signature
Open
Nobody has claimed this yet.
Better Engineering
- Dominant language
- Python
- Stars
- 1.3k
- Forks
- 179
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 2
Description
This issue is generated from the TODO line
https://github.com/pytorch/data/blob/2f29adba451e1b87f1c0c654557d9dd98673fdd8/./docs/source/conf.py#L94
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open docs/source/conf.py at the TODO around line 94 and inspect how the current signature replacements handle T and T_co. Replace the separate handling with a regex covering both signatures, then verify that documentation generation applies the replacement to all relevant cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100