• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

C preprocessor written in Python


Commit MetaInfo

Revision54a3ee518ecc79392ed559ced8514fde4399e4fd (tree)
Time2022-02-01 15:44:20
AuthorEric Hopper <hopper@omni...>
CommiterEric Hopper

Log Message

Small formatting and etc.. cleanups.

Change Summary

Incremental Difference

diff -r b2e0830b2cff -r 54a3ee518ecc src/pycpre/lazy_sequence.py
--- a/src/pycpre/lazy_sequence.py Mon Jan 31 22:38:37 2022 -0800
+++ b/src/pycpre/lazy_sequence.py Mon Jan 31 22:44:20 2022 -0800
@@ -9,10 +9,11 @@
99 # this program. If not, see <https://www.gnu.org/licenses/gpl-3.0.html>
1010
1111 from collections.abc import Sequence
12-from heapq import heappush
1312 from typing import Generic, Iterable, Iterator, List, Optional, TypeVar, Union
1413 from weakref import ref, ReferenceType
1514
15+__all__ = ["LazySequence"]
16+
1617
1718 T = TypeVar("T")
1819
@@ -22,7 +23,7 @@
2223 super().__init__(**kwargs)
2324 self.buffer: List[T] = []
2425 self.iterator: Iterator[T] = item_iterator
25- self.heads: List[ReferenceType[T]]= []
26+ self.heads: List[ReferenceType[T]] = []
2627 self.index_of_0: int = 0
2728
2829 def new_sequence(self, sequence: "LazySequence[T]") -> None: