mirror of
https://github.com/Findus23/rebound-stubs.git
synced 2024-09-19 15:13:48 +02:00
minor updates
This commit is contained in:
parent
1493aa1bff
commit
f99297d5a4
2 changed files with 4 additions and 4 deletions
|
@ -37,11 +37,11 @@ class Particle(Structure):
|
|||
|
||||
def copy(self) -> Particle: ...
|
||||
|
||||
def calculate_orbit(self, primary: Optional[Particle], G: Optional[float]): ...
|
||||
def calculate_orbit(self, primary: Optional[Particle], G: Optional[float]) -> Orbit: ...
|
||||
|
||||
def sample_orbit(self, Npts: int, primary: Optional[Particle], trailing: bool,
|
||||
timespan: Optional[float], useTrueAnomaly: Optional[bool],
|
||||
duplicateEndpoint: Optional[bool]): ...
|
||||
duplicateEndpoint: Optional[bool]): ... #TODO: return value
|
||||
|
||||
def __pow__(self, other: Particle) -> Particle: ...
|
||||
|
||||
|
@ -170,7 +170,7 @@ class Particle(Structure):
|
|||
def orbit(self) -> Orbit: ...
|
||||
|
||||
@property
|
||||
def jacobi_com(self): ... #TODO: correct tpying
|
||||
def jacobi_com(self): ... #TODO: correct typing
|
||||
|
||||
@property
|
||||
def hash(self) -> c_uint32: ...
|
||||
|
|
|
@ -256,7 +256,7 @@ class Simulation(Structure):
|
|||
# _extras_cleanup: CFUNCTYPE(None, _Pointer[Simulation])
|
||||
extras: c_void_p
|
||||
|
||||
def __new__(cls, *args: Any, **kw: Any): ...
|
||||
def __new__(cls, *args: Any, **kw: Any)->Simulation: ...
|
||||
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
|
|
Loading…
Reference in a new issue