Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9b42f17

Browse files
committed
Merged revisions 82790 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k ........ r82790 | georg.brandl | 2010-07-11 10:36:20 +0200 (So, 11 Jul 2010) | 1 line #3214 followup: add link to ABC entry. ........
1 parent 5e4c177 commit 9b42f17

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/glossary.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ Glossary
154154
must be a duck.") By emphasizing interfaces rather than specific types,
155155
well-designed code improves its flexibility by allowing polymorphic
156156
substitution. Duck-typing avoids tests using :func:`type` or
157-
:func:`isinstance`. (Note, however, that duck-typing can be complemented
158-
with abstract base classes.) Instead, it typically employs :func:`hasattr`
159-
tests or :term:`EAFP` programming.
157+
:func:`isinstance`. (Note, however, that duck-typing can be complemented
158+
with :term:`abstract base class`\ es.) Instead, it typically employs
159+
:func:`hasattr` tests or :term:`EAFP` programming.
160160

161161
EAFP
162162
Easier to ask for forgiveness than permission. This common Python coding

0 commit comments

Comments
 (0)