Oh wait, I forgot:

https://en.wikipedia.org/wiki/If_and_only_if

Alex

On Fri, 18 Aug 2023 at 13:50, Alexander Kanavin <[email protected]> wrote:
>
> Thanks, this should be going to bitbake-devel list.
>
> Alex
>
> On Fri, 18 Aug 2023 at 13:48, Markus Niebel
> <[email protected]> wrote:
> >
> > Replace 'iff' with 'if'
> >
> > Signed-off-by: Markus Niebel <[email protected]>
> > ---
> >  bitbake/lib/bs4/element.py | 4 ++--
> >  bitbake/lib/ply/yacc.py    | 4 ++--
> >  2 files changed, 4 insertions(+), 4 deletions(-)
> >
> > diff --git a/bitbake/lib/bs4/element.py b/bitbake/lib/bs4/element.py
> > index 68be42d138..d59be6fa85 100644
> > --- a/bitbake/lib/bs4/element.py
> > +++ b/bitbake/lib/bs4/element.py
> > @@ -1002,7 +1002,7 @@ class Tag(PageElement):
> >              "'%s' object has no attribute '%s'" % (self.__class__, tag))
> >
> >      def __eq__(self, other):
> > -        """Returns true iff this tag has the same name, the same 
> > attributes,
> > +        """Returns true if this tag has the same name, the same attributes,
> >          and the same contents (recursively) as the given tag."""
> >          if self is other:
> >              return True
> > @@ -1019,7 +1019,7 @@ class Tag(PageElement):
> >          return True
> >
> >      def __ne__(self, other):
> > -        """Returns true iff this tag is not identical to the other tag,
> > +        """Returns true if this tag is not identical to the other tag,
> >          as defined in __eq__."""
> >          return not self == other
> >
> > diff --git a/bitbake/lib/ply/yacc.py b/bitbake/lib/ply/yacc.py
> > index 381b50cf0b..5863500571 100644
> > --- a/bitbake/lib/ply/yacc.py
> > +++ b/bitbake/lib/ply/yacc.py
> > @@ -1536,9 +1536,9 @@ class Grammar(object):
> >          while 1:
> >              some_change = 0
> >              for (n,pl) in self.Prodnames.items():
> > -                # Nonterminal n terminates iff any of its productions 
> > terminates.
> > +                # Nonterminal n terminates if any of its productions 
> > terminates.
> >                  for p in pl:
> > -                    # Production p terminates iff all of its rhs symbols 
> > terminate.
> > +                    # Production p terminates if all of its rhs symbols 
> > terminate.
> >                      for s in p.prod:
> >                          if not terminates[s]:
> >                              # The symbol s does not terminate,
> > --
> > 2.25.1
> >
> >
> > 
> >
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186364): 
https://lists.openembedded.org/g/openembedded-core/message/186364
Mute This Topic: https://lists.openembedded.org/mt/100818700/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to