@@ -331,7 +331,7 @@ implementation A for B:
331331→
332332
333333``` python
334- class __by_impl__A__B (_by_Implementation , A ): # basedpython: implementation A for B
334+ class _by_impl__A__B (_by_Implementation , A ): # basedpython: implementation A for B
335335 __slots__ = ()
336336
337337 def f (self ):
@@ -387,16 +387,16 @@ xs: list[A] = [b1, b2]
387387→
388388
389389``` python
390- f(__by_impl__A__B (b))
391- xs: list[A] = [__by_impl__A__B (b1), __by_impl__A__B (b2)]
390+ f(_by_impl__A__B (b))
391+ xs: list[A] = [_by_impl__A__B (b1), _by_impl__A__B (b2)]
392392```
393393
394394when the implementation lives in another module, the lowering emits the precise
395395import of the witness class, keyed off the checker's resolution — the same
396396implicit-import treatment extension members get:
397397
398398``` python
399- from adapters import __by_impl__A__B
399+ from adapters import _by_impl__A__B
400400```
401401
402402## round-tripping
@@ -497,7 +497,7 @@ settling separately. adding inherent members is what extensions are for
497497 (` project_db ` + ` transpile_typed ` ), beside
498498 ` imported_extension_rewrites_call_and_adds_import ` : a conversion site
499499 whose witness class lives in another module must wrap the expression * and*
500- emit ` from impl_mod import __by_impl__A__B ` , and the anonymous mangled
500+ emit ` from impl_mod import _by_impl__A__B ` , and the anonymous mangled
501501 name must agree between the two files
502502 - ** runtime** — an ` implementation_runtime.rs ` beside the other ` *_runtime.rs `
503503 integration tests, for shared mutation through a witness, ` == ` / ` hash `
0 commit comments