Skip to content

Commit 42b464f

Browse files
committed
Fix documentation
1 parent 94b0801 commit 42b464f

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

Doc/library/datatypes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ The following modules are documented in this chapter:
3333
pprint.rst
3434
reprlib.rst
3535
enum.rst
36+
graphlib.rst

Doc/whatsnew/3.9.rst

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,14 @@ PyPI and maintained by the CPython core team.
245245
PEP written and implemented by Paul Ganssle
246246

247247

248+
graphlib
249+
---------
250+
251+
Add the :mod:`graphlib` that contains the :class:`graphlib.TopologicalSorter` class
252+
to offer functionality to perform topological sorting of graphs. (Contributed by Pablo
253+
Galindo, Tim Peters and Larry Hastings in :issue:`17005`.)
254+
255+
248256
Improved Modules
249257
================
250258

@@ -352,13 +360,6 @@ ftplib
352360
if the given timeout for their constructor is zero to prevent the creation of
353361
a non-blocking socket. (Contributed by Dong-hee Na in :issue:`39259`.)
354362

355-
functools
356-
---------
357-
358-
Add the :class:`functools.TopologicalSorter` class to offer functionality to perform
359-
topological sorting of graphs. (Contributed by Pablo Galindo, Tim Peters and Larry
360-
Hastings in :issue:`17005`.)
361-
362363
gc
363364
--
364365

Lib/functools.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
__all__ = ['update_wrapper', 'wraps', 'WRAPPER_ASSIGNMENTS', 'WRAPPER_UPDATES',
1313
'total_ordering', 'cache', 'cmp_to_key', 'lru_cache', 'reduce',
14-
'TopologicalSorter', 'CycleError',
1514
'partial', 'partialmethod', 'singledispatch', 'singledispatchmethod',
1615
'cached_property']
1716

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
The topological sort functionality that was introduced initialy in the
1+
The topological sort functionality that was introduced initially in the
22
:mod:`functools` module has been moved to a new :mod:`graphlib` module to
3-
better accomodate the new tools and keep the original scope of the
3+
better accommodate the new tools and keep the original scope of the
44
:mod:`functools` module. Patch by Pablo Galindo

0 commit comments

Comments
 (0)