Skip to content

Commit 4bbac89

Browse files
committed
Fix references to undocumented class methods
1 parent bceba6e commit 4bbac89

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/random.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ instance of the :class:`random.Random` class. You can instantiate your own
3434
instances of :class:`Random` to get generators that don't share state.
3535

3636
Class :class:`Random` can also be subclassed if you want to use a different
37-
basic generator of your own devising: in that case, override the :meth:`~random.random`,
38-
:meth:`~random.seed`, :meth:`~random.getstate`, and :meth:`~random.setstate` methods.
39-
Optionally, a new generator can supply a :meth:`~random.getrandbits` method --- this
37+
basic generator of your own devising: in that case, override the :meth:`!random`,
38+
:meth:`!seed`, :meth:`!getstate`, and :meth:`!setstate` methods.
39+
Optionally, a new generator can supply a :meth:`!getrandbits` method --- this
4040
allows :meth:`randrange` to produce selections over an arbitrarily large range.
4141

4242
The :mod:`random` module also provides the :class:`SystemRandom` class which

0 commit comments

Comments
 (0)