diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-04-17 17:41:43 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-04-17 22:41:41 +0100 |
commit | 482cddc2b900cfca7c9811935c47660e95090a99 (patch) | |
tree | ccd53857feb819e0f3acf4427bce4b46a0ee295b /po/pa.po | |
parent | 7855959f7cd0d801685f99b2793ca58b50f802c2 (diff) | |
download | libguestfs-482cddc2b900cfca7c9811935c47660e95090a99.tar.gz libguestfs-482cddc2b900cfca7c9811935c47660e95090a99.tar.xz libguestfs-482cddc2b900cfca7c9811935c47660e95090a99.zip |
python: Remove 'del g' from the docs, replace with 'g.close ()'.
'del g' is a trap for the unwary. If the handle has any other
references, it does nothing (in fact, it can be actively dangerous if
the user was expecting the appliance to go away). In non-CPython it
can be delayed arbitrarily long.
Using 'g.close()' on the other hand is always safe.
(cherry picked from commit 255882a3f615c7727d2cc2f18f692513dc0a75e9)
Diffstat (limited to 'po/pa.po')
0 files changed, 0 insertions, 0 deletions