diff --git a/advanced-iterators.html b/advanced-iterators.html new file mode 100644 index 0000000..5cb4f44 --- /dev/null +++ b/advanced-iterators.html @@ -0,0 +1,27 @@ + + + +Advanced Iterators - Dive into Python 3 + + + +
  
+

You are here: Home Dive Into Python 3 +

Iterators & Generators

+
+

FIXME
— FIXME +

+

  +

Diving In

+

FIXME + +

Further Reading

+ + +

© 2001–9 ark Pilgrim + + + diff --git a/index.html b/index.html index 2c62bb8..8d03f58 100644 --- a/index.html +++ b/index.html @@ -27,13 +27,13 @@ h1:before{content:""}

  • Native Datatypes
  • Strings
  • Regular Expressions -
  • The power of introspection +
  • Iterators & Generators +
  • Advanced Iterators
  • Objects and object-orientation
  • Unit Testing
  • Test-first programming
  • Refactoring your code
  • Files -
  • Iterators & Generators
  • HTML processing
  • XML processing
  • Web services diff --git a/iterators-and-generators.html b/iterators-and-generators.html index b847b25..518f366 100644 --- a/iterators-and-generators.html +++ b/iterators-and-generators.html @@ -4,7 +4,7 @@ Iterators & generators - Dive into Python 3
      
    @@ -15,9 +15,8 @@ body{counter-reset:h1 11}

     

    Diving In

    -

    Let’s talk about plural nouns. Also, functions that return other functions, advanced regular expressions, iterators, and generators. But first, let’s talk about how to make plural nouns. (If you haven’t read the chapter on regular expressions, now would be a good time. This chapter assumes you understand the basics of regular expressions, and quickly descends into more advanced uses.) -

    English is a schizophrenic language that borrows from a lot of other languages, and the rules for making singular nouns into plural nouns are varied and complex. There are rules, and then there are exceptions to those rules, and then there are exceptions to the exceptions. -

    +

    English is a schizophrenic language that borrows words from many other languages. The most basic linguistic operations, like taking a singular noun and turning it into a plural noun, are complicated by the language's mixed heritage. There are rules, and then there are exceptions to those rules, and then there are exceptions to the exceptions. +

    In this chapter, you’re going to learn about about plural nouns. Also, functions that return other functions, advanced regular expressions, iterators, and generators. But first, let’s talk about how to make plural nouns. (If you haven’t read the chapter on regular expressions, now would be a good time. This chapter assumes you understand the basics of regular expressions, and it quickly descends into more advanced uses.)

    If you grew up in an English-speaking country or learned English in a formal school setting, you’re probably familiar with the basic rules: