.\" Title: Libsolv-Bindings
.\" Author: [see the "Author" section]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 06/14/2013
+.\" Date: 07/02/2013
.\" Manual: LIBSOLV
.\" Source: libsolv
.\" Language: English
.\"
-.TH "LIBSOLV\-BINDINGS" "3" "06/14/2013" "libsolv" "LIBSOLV"
+.TH "LIBSOLV\-BINDINGS" "3" "07/02/2013" "libsolv" "LIBSOLV"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.RE
.\}
.sp
-An special exception to this are iterator objects, they are encapsulated as tied arrays so that it is possible to iterate with a for() statement:
+A special exception to this are iterator objects, they are encapsulated as tied arrays so that it is possible to iterate with a for() statement:
.sp
.if n \{\
.RS 4
.RE
.\}
.sp
-Due to a bug in swig, stringification does not work for libsolv\(cqs object\&. Instead you have to call the object\(cqs str() method\&.
+Due to a bug in swig, stringification does not work for libsolv\(cqs objects\&. Instead, you have to call the object\(cqs str() method\&.
.sp
.if n \{\
.RS 4
.RE
.\}
.sp
-Arrays are passed an returned as list objects:
+Arrays are passed and returned as list objects:
.sp
.if n \{\
.RS 4
.RE
.\}
.sp
-Arrays are passed an returned as array objects:
+Arrays are passed and returned as array objects:
.sp
.if n \{\
.RS 4
$pool->{appdata} = 42;
printf "appdata is %d\n", $pool->{appdata};
-An special exception to this are iterator objects, they are encapsulated as
+A special exception to this are iterator objects, they are encapsulated as
tied arrays so that it is possible to iterate with a for() statement:
my $iter = $pool->solvables_iter();
my @problems = $solver->solve(\@jobs);
-Due to a bug in swig, stringification does not work for libsolv's object.
-Instead you have to call the object's str() method.
+Due to a bug in swig, stringification does not work for libsolv's objects.
+Instead, you have to call the object's str() method.
print $dep->str() . "\n";
for solvable in pool.solvables_iter():
-Arrays are passed an returned as list objects:
+Arrays are passed and returned as list objects:
jobs = []
problems = solver.solve(jobs)
for solvable in pool.solvables_iter() do ...
-Arrays are passed an returned as array objects:
+Arrays are passed and returned as array objects:
jobs = []
problems = solver.solve(jobs)