]> granicus.if.org Git - python/commit
Clarify the example by explicitly importing the fcntl module -- this
authorGuido van Rossum <guido@python.org>
Thu, 24 Jun 1999 17:58:44 +0000 (17:58 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 24 Jun 1999 17:58:44 +0000 (17:58 +0000)
commitcf6905f986613b20f00ebbcecf6cc07ce298cbee
tree663020e74ce5ef8286c9730ffabaa92d041c3757
parent336a201d4fed1b800029f302653e851a430a166b
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...)
Doc/lib/libfcntl.tex