From 820276754565b98bb9f5dbdc25e2dc1f3900b781 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sun, 12 Jun 2022 08:57:48 +0300 Subject: [PATCH] Fix word duplications and similar errors --- pep-0205.txt | 2 +- pep-0611.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pep-0205.txt b/pep-0205.txt index 39aebeac67c..d746d7b0244 100644 --- a/pep-0205.txt +++ b/pep-0205.txt @@ -335,7 +335,7 @@ handle on an object that does not increment the object's reference count. This means that holding a vref on an object will not keep the object from being destroyed. This would allow the Python programmer, for example, to create the aforementioned tree -structure tree structure, which is automatically destroyed when it +structure, which is automatically destroyed when it is no longer in use -- by making all of the parent back-references into vrefs, they no longer create reference cycles which keep the tree from being destroyed. diff --git a/pep-0611.rst b/pep-0611.rst index f5956bf0eba..e267f6a6eaf 100644 --- a/pep-0611.rst +++ b/pep-0611.rst @@ -38,7 +38,7 @@ It is unsafe as malicious or poorly generated code could cause values to exceed For example, line numbers are represented by 32 bit values internally. This is inefficient, given that modules almost never exceed a few thousand lines. -Despite being inefficient, is still vulnerable to overflow as +Despite being inefficient, it is still vulnerable to overflow as it is easy for an attacker to created a module with billions of newline characters. Memory access is usually a limiting factor in the performance of modern CPUs.