Castle: The best Real-Time/Embedded/HighTech language EVER. Attempt 2
Révision | 20a629dc111ebcf4a918cfc5ecf003a058ede498 (tree) |
---|---|
l'heure | 2023-10-06 19:55:33 |
Auteur | Albert Mietus < albert AT mietus DOT nl > |
Commiter | Albert Mietus < albert AT mietus DOT nl > |
Updated doc in test (GenericProtocols)
@@ -34,7 +34,15 @@ | ||
34 | 34 | This *syntax detail* is handled in the parser! |
35 | 35 | |
36 | 36 | In the AIGR, the specialised *SlowStart(1)* protocol is modeled by a ProtocolWrapper; which in placed in-between |
37 | - (the generic) Slowstart and SimpleSieve. """ | |
37 | + (the generic) Slowstart and SimpleSieve. | |
38 | + | |
39 | + .. hint:: (implementation of Generic Protocols) | |
40 | + | |
41 | + With ``functools.partial``, it seams possible to make a "partial class". BUT, that is NOT VALID RPython! | |
42 | + (see: .../PyPy+Rpython/new/partialCLass.py). | |
43 | + | |
44 | + So, it will be implemented in normal the normale AST-->AIGT-->AIGT-->RPY train (as in C++ template's): just fill in | |
45 | +""" | |
38 | 46 | |
39 | 47 | import logging; logger = logging.getLogger(__name__) |
40 | 48 | import pytest |