diff options
author | Guido van Rossum <guido@python.org> | 1999-06-24 17:58:44 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-06-24 17:58:44 (GMT) |
commit | cf6905f986613b20f00ebbcecf6cc07ce298cbee (patch) | |
tree | 663020e74ce5ef8286c9730ffabaa92d041c3757 /Lib/cmp.py | |
parent | 336a201d4fed1b800029f302653e851a430a166b (diff) | |
download | cpython-cf6905f986613b20f00ebbcecf6cc07ce298cbee.zip cpython-cf6905f986613b20f00ebbcecf6cc07ce298cbee.tar.gz cpython-cf6905f986613b20f00ebbcecf6cc07ce298cbee.tar.bz2 |
Clarify the example by explicitly importing the fcntl module -- this
avoid being fooled into thinking that fcntl and FCNTL are the same
thing -- they aren't! (fcntl is the extension, FCNTL.py is h2py
output that defines all the constants).
(XXX The example is still weird -- I think there's a more portable way
to do locking now. That's for someone else to fix...)
Diffstat (limited to 'Lib/cmp.py')
0 files changed, 0 insertions, 0 deletions