diff options
author | Michael Schroeder <mls@suse.de> | 2013-07-02 13:59:25 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-07-02 13:59:25 +0200 |
commit | 5912f28751044abb23a26fd28f762c5b47694348 (patch) | |
tree | ad74b6c382b1f37f3ed209bc53976faabeee2f93 /doc | |
parent | 986b25da24d6fe9e0ce310510e33de0cc68365c1 (diff) | |
download | libsolv-5912f28751044abb23a26fd28f762c5b47694348.tar.gz libsolv-5912f28751044abb23a26fd28f762c5b47694348.tar.bz2 libsolv-5912f28751044abb23a26fd28f762c5b47694348.zip |
fix spelling errors
Diffstat (limited to 'doc')
-rw-r--r-- | doc/libsolv-bindings.3 | 12 | ||||
-rw-r--r-- | doc/libsolv-bindings.txt | 10 |
2 files changed, 11 insertions, 11 deletions
diff --git a/doc/libsolv-bindings.3 b/doc/libsolv-bindings.3 index a38fed1..b68ec62 100644 --- a/doc/libsolv-bindings.3 +++ b/doc/libsolv-bindings.3 @@ -2,12 +2,12 @@ .\" 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 .\" ----------------------------------------------------------------- @@ -72,7 +72,7 @@ Swig encapsulates all objects as tied hashes, thus the attributes can be accesse .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 @@ -99,7 +99,7 @@ my \fI@problems\fR \fB=\fR \fI$solver\fR\fB\->solve(\e\fR\fI@jobs\fR\fB)\fR; .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 @@ -174,7 +174,7 @@ Iterators also work as expected: .RE .\} .sp -Arrays are passed an returned as list objects: +Arrays are passed and returned as list objects: .sp .if n \{\ .RS 4 @@ -263,7 +263,7 @@ Iterators also work as expected: .RE .\} .sp -Arrays are passed an returned as array objects: +Arrays are passed and returned as array objects: .sp .if n \{\ .RS 4 diff --git a/doc/libsolv-bindings.txt b/doc/libsolv-bindings.txt index d810ef5..1449bba 100644 --- a/doc/libsolv-bindings.txt +++ b/doc/libsolv-bindings.txt @@ -36,7 +36,7 @@ accessed by treating the object as standard hash reference: $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(); @@ -49,8 +49,8 @@ if a method returns an array it returns it on the stack: 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"; @@ -82,7 +82,7 @@ Iterators also work as expected: 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) @@ -120,7 +120,7 @@ Iterators also work as expected: 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) |