From: Michael Schroeder Date: Tue, 2 Jul 2013 11:59:25 +0000 (+0200) Subject: fix spelling errors X-Git-Tag: BASE-SuSE-Code-13_1-Branch~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5912f28751044abb23a26fd28f762c5b47694348;p=thirdparty%2Flibsolv.git fix spelling errors --- diff --git a/doc/libsolv-bindings.3 b/doc/libsolv-bindings.3 index a38fed1b..b68ec62a 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 -.\" 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 d810ef5c..1449bbaa 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)