Other languages would call these "internal", not "private".
Other languages would call these "internal", not "private".
Java calls this notion "package-private" [0], at least in some of its documentation. Delphi calls this notion "private" [1], and has a separate "strict private" for members only visible from the containing class.
Also, C# uses "internal" to refer to a different notion, that the type or member can be accessed from anywhere in the containing assembly, not just the containing namespace [2]. (In D this is "package", and in Rust this is "pub(crate)".)
I'm just trying to push back on treating "other languages" as a unified whole here.
[0] https://docs.oracle.com/javase/tutorial/java/javaOO/accessco...
[1] https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Clas...
[2] https://learn.microsoft.com/en-us/dotnet/csharp/programming-...