mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
split iterators-and-generators into 2 chapters, added stubs for introduction to python classes (in iterators chapter)
--HG-- rename : iterators-and-generators.html => generators.html
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"""Fibonacci iterator"""
|
||||
|
||||
class fib:
|
||||
class Fib:
|
||||
def __init__(self, max):
|
||||
self.max = max
|
||||
|
||||
|
||||
Reference in New Issue
Block a user