Skip to content

Commit 8d3f041

Browse files
authored
Update URLs to typing.python.org (#1940)
1 parent fafcdeb commit 8d3f041

File tree

4 files changed

+27
-27
lines changed

4 files changed

+27
-27
lines changed

.github/ISSUE_TEMPLATE/documentation-issue.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Documentation issue
3-
about: Report a problem or suggest changes for the documentation at https://typing.readthedocs.io/
3+
about: Report a problem or suggest changes for the documentation at https://typing.python.org/
44
title: ''
55
labels: 'topic: documentation'
66
assignees: ''

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Documentation and Support
44

55
The documentation for Python's static typing can be found at
6-
[typing.readthedocs.io](https://typing.readthedocs.io/). You can get
6+
[typing.python.org](https://typing.python.org/). You can get
77
help in our [support forum](https://github.com/python/typing/discussions).
88

99
Improvements to the type system should be discussed on
@@ -20,10 +20,10 @@ For conversations that are more suitable to a chat platform, you can use one of
2020

2121
This GitHub repository is used for several things:
2222

23-
- The documentation at [typing.readthedocs.io](https://typing.readthedocs.io/)
23+
- The documentation at [typing.python.org](https://typing.python.org/)
2424
is maintained in the [docs directory](./docs). This includes the
25-
[specification](https://typing.readthedocs.io/en/latest/spec/index.html) for the
26-
type system. See especially [the update procedure](https://typing.readthedocs.io/en/latest/spec/meta.html)
25+
[specification](https://typing.python.org/en/latest/spec/index.html) for the
26+
type system. See especially [the update procedure](https://typing.python.org/en/latest/spec/meta.html)
2727
for the spec.
2828

2929
- A [discussion forum](https://github.com/python/typing/discussions) for typing-related user

conformance/README.md

+21-21
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,34 @@
22

33
## Motivation
44

5-
[PEP 729](https://peps.python.org/pep-0729/) provides a structured and documented way to specify and evolve the Python type system. In support of this effort, an official [Python typing spec](https://github.com/python/typing/tree/main/docs/spec) has been drafted. This spec consolidates details from various historical typing-related PEPs. The spec will be modified over time to clarify unspecified and under-specified parts of the type system. It will also be extended to cover new features of the type system.
5+
[PEP 729](https://peps.python.org/pep-0729/) provides a structured and documented way to specify and evolve the Python type system. In support of this effort, an official [Python typing spec](https://typing.python.org/en/latest/spec/) has been drafted. This spec consolidates details from various historical typing-related PEPs. The spec will be modified over time to clarify unspecified and under-specified parts of the type system. It will also be extended to cover new features of the type system.
66

77
Accompanying the typing specification is this conformance test suite which validates the behavior of static type checkers against the specification.
88

99
## Structure & Name
1010

1111
This project contains test cases for behaviors defined in the Python typing spec. Tests are structured and grouped in accordance with the specification's chapter headings.
1212

13-
* [concepts](https://typing.readthedocs.io/en/latest/spec/concepts.html)
14-
* [annotations](https://typing.readthedocs.io/en/latest/spec/annotations.html)
15-
* [specialtypes](https://typing.readthedocs.io/en/latest/spec/special-types.html)
16-
* [generics](https://typing.readthedocs.io/en/latest/spec/generics.html)
17-
* [qualifiers](https://typing.readthedocs.io/en/latest/spec/qualifiers.html)
18-
* [classes](https://typing.readthedocs.io/en/latest/spec/class-compat.html)
19-
* [aliases](https://typing.readthedocs.io/en/latest/spec/aliases.html)
20-
* [literals](https://typing.readthedocs.io/en/latest/spec/literal.html)
21-
* [protocols](https://typing.readthedocs.io/en/latest/spec/protocol.html)
22-
* [callables](https://typing.readthedocs.io/en/latest/spec/callables.html)
23-
* [constructors](https://typing.readthedocs.io/en/latest/spec/constructors.html)
24-
* [overloads](https://typing.readthedocs.io/en/latest/spec/overload.html)
25-
* [dataclasses](https://typing.readthedocs.io/en/latest/spec/dataclasses.html)
26-
* [typeddicts](https://typing.readthedocs.io/en/latest/spec/typeddict.html)
27-
* [tuples](https://typing.readthedocs.io/en/latest/spec/tuples.html)
28-
* [namedtuples](https://typing.readthedocs.io/en/latest/spec/namedtuples.html)
29-
* [narrowing](https://typing.readthedocs.io/en/latest/spec/narrowing.html)
30-
* [directives](https://typing.readthedocs.io/en/latest/spec/directives.html)
31-
* [distribution](https://typing.readthedocs.io/en/latest/spec/distributing.html)
32-
* [historical](https://typing.readthedocs.io/en/latest/spec/historical.html)
13+
* [concepts](https://typing.python.org/en/latest/spec/concepts.html)
14+
* [annotations](https://typing.python.org/en/latest/spec/annotations.html)
15+
* [specialtypes](https://typing.python.org/en/latest/spec/special-types.html)
16+
* [generics](https://typing.python.org/en/latest/spec/generics.html)
17+
* [qualifiers](https://typing.python.org/en/latest/spec/qualifiers.html)
18+
* [classes](https://typing.python.org/en/latest/spec/class-compat.html)
19+
* [aliases](https://typing.python.org/en/latest/spec/aliases.html)
20+
* [literals](https://typing.python.org/en/latest/spec/literal.html)
21+
* [protocols](https://typing.python.org/en/latest/spec/protocol.html)
22+
* [callables](https://typing.python.org/en/latest/spec/callables.html)
23+
* [constructors](https://typing.python.org/en/latest/spec/constructors.html)
24+
* [overloads](https://typing.python.org/en/latest/spec/overload.html)
25+
* [dataclasses](https://typing.python.org/en/latest/spec/dataclasses.html)
26+
* [typeddicts](https://typing.python.org/en/latest/spec/typeddict.html)
27+
* [tuples](https://typing.python.org/en/latest/spec/tuples.html)
28+
* [namedtuples](https://typing.python.org/en/latest/spec/namedtuples.html)
29+
* [narrowing](https://typing.python.org/en/latest/spec/narrowing.html)
30+
* [directives](https://typing.python.org/en/latest/spec/directives.html)
31+
* [distribution](https://typing.python.org/en/latest/spec/distributing.html)
32+
* [historical](https://typing.python.org/en/latest/spec/historical.html)
3333

3434
A test file is a ".py" file. The file name should start with one of the above names followed by a description of the test (with words separated by underscores). For example, `generics_paramspec_basic_usage.py` would contain the basic usage tests for `ParamSpec`. Each test file can contain multiple individual unit tests, but these tests should be related to each other. If the number of unit tests in a single test file exceeds ten, it may be desirable to split it into separate test files. This will help maintain a consistent level of granularity across tests.
3535

docs/README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Reading the docs
55
=================
66

77
The live documentation for Python's static typing can be found at
8-
`typing.readthedocs.io <https://typing.readthedocs.io/>`_.
8+
`typing.python.org <https://typing.python.org/>`_.
99

1010
Building the docs
1111
=================

0 commit comments

Comments
 (0)