perl, python, ruby: Fix comments on call to close method.

Make the comments consistent.

Also make the Perl example call $g->close explicitly so it is
consistent with the other examples.
This commit is contained in:
Richard W.M. Jones
2012-07-03 14:42:10 +01:00
parent 917550a117
commit 27ebf517fa
3 changed files with 10 additions and 1 deletions

View File

@@ -51,4 +51,7 @@ g.mkdir ("/foo")
# the disk image.
g.upload ("/etc/resolv.conf", "/foo/resolv.conf")
# Note also that handles are automatically closed if they are
# reaped by reference counting. You only need to call close
# if you want to close the handle right away.
g.close ()