No need to specify explicit "doctest_block" anymore.
diff --git a/Doc/howto/functional.rst b/Doc/howto/functional.rst
index 2424c6f..792344d 100644
--- a/Doc/howto/functional.rst
+++ b/Doc/howto/functional.rst
@@ -450,7 +450,7 @@
Here's the simplest example of a generator function:
-.. testcode:: doctest_block
+.. testcode::
def generate_ints(N):
for i in range(N):
@@ -560,7 +560,7 @@
Here's a simple counter that increments by 1 and allows changing the value of
the internal counter.
-.. testcode:: doctest_block
+.. testcode::
def counter (maximum):
i = 0