diff options
author | Raymond Hettinger <python@rcn.com> | 2003-09-01 22:12:08 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-09-01 22:12:08 (GMT) |
commit | 574aa325785c58c4765f110544ebbb80cc75edbe (patch) | |
tree | c8ed263e09394ac994d5323a39003290d82044c1 /Objects/dictobject.c | |
parent | 6f6d7b93bc537908ed61353bc8fec0f1837e7711 (diff) | |
download | cpython-574aa325785c58c4765f110544ebbb80cc75edbe.zip cpython-574aa325785c58c4765f110544ebbb80cc75edbe.tar.gz cpython-574aa325785c58c4765f110544ebbb80cc75edbe.tar.bz2 |
SF patch #798467: Update docstring of has_key for bool changes
(Contributed by George Yoshida.)
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r-- | Objects/dictobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c index c4959ff..5d22404 100644 --- a/Objects/dictobject.c +++ b/Objects/dictobject.c @@ -1733,7 +1733,7 @@ dict_iteritems(dictobject *dict) PyDoc_STRVAR(has_key__doc__, -"D.has_key(k) -> 1 if D has a key k, else 0"); +"D.has_key(k) -> True if D has a key k, else False"); PyDoc_STRVAR(get__doc__, "D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None."); |