Skip to content

Commit e28e43f

Browse files
committed
Add comment
1 parent 2b542c7 commit e28e43f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/string.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ class _TemplatePattern:
5757
def __get__(self, instance, cls=None):
5858
if cls is None:
5959
return self
60+
# This descriptor is overwritten in ``_compile_pattern()``.
6061
return cls._compile_pattern()
6162

6263

0 commit comments

Comments
 (0)