From 041ef3a8ee692cdae3a8a0a00156bf7f1fc79d15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sat, 1 Feb 2020 02:16:05 +0100 Subject: [PATCH] Grammar fixes --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1a548cd..a51a845 100644 --- a/README.md +++ b/README.md @@ -2154,7 +2154,7 @@ Metaprograming ``` ### Meta Class -**Class that creates classes.** +**A class that creates classes.** ```python def my_meta_class(name, parents, attrs): diff --git a/index.html b/index.html index 72414a3..fb271cd 100644 --- a/index.html +++ b/index.html @@ -1877,7 +1877,7 @@ param_kinds = [a.kind for a >>> Z = type('Z', (), {'a': 'abcde', 'b': 12345}) >>> z = Z() -

Meta Class

Class that creates classes.

def my_meta_class(name, parents, attrs):
+

Meta Class

A class that creates classes.

def my_meta_class(name, parents, attrs):
     attrs['a'] = 'abcde'
     return type(name, parents, attrs)