• R/O
  • SSH

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得windowscocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

C preprocessor written in Python


Commit MetaInfo

Révision54a3ee518ecc79392ed559ced8514fde4399e4fd (tree)
l'heure2022-02-01 15:44:20
AuteurEric Hopper <hopper@omni...>
CommiterEric Hopper

Message de Log

Small formatting and etc.. cleanups.

Change Summary

Modification

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: