Home
last modified time | relevance | path

Searched refs:kwspec (Results 1 – 6 of 6) sorted by relevance

/dports/devel/py-pint/Pint-0.18/pint/
H A Dunit.py99 def format_babel(self, spec="", locale=None, **kwspec: Any) -> str:
120 kwspec["locale"] = babel_parse(locale)
122 return units.format_babel(spec, registry=self._REGISTRY, **kwspec)
H A Dquantity.py472 def format_babel(self, spec: str = "", **kwspec: Any) -> str:
481 kwspec = dict(kwspec)
482 if "length" in kwspec:
483 kwspec["babel_length"] = kwspec.pop("length")
485 loc = kwspec.get("locale", self._REGISTRY.fmt_locale)
489 kwspec["locale"] = babel_parse(loc)
490 kwspec["babel_plural_form"] = kwspec["locale"].plural_form(obj.magnitude)
493 obj.units.format_babel(spec, **kwspec),
H A Dutil.py464 def format_babel(self, spec: str, registry=None, **kwspec) -> str: argument
465 return format_unit(self, spec, registry=registry, **kwspec)
/dports/astro/pykep/pykep-2.6/src/third_party/cspice/
H A Dgetfov.c75 32], kwboun[32], kwspec[32]; in getfov_() local
750 s_copy(kwspec, "INS#_FOV_CLASS_SPEC", (ftnlen)32, (ftnlen)19); in getfov_()
860 repmi_(kwspec, "#", instid, kword, (ftnlen)32, (ftnlen)1, (ftnlen)32); in getfov_()
/dports/astro/py-pykep/pykep-2.6/src/third_party/cspice/
H A Dgetfov.c75 32], kwboun[32], kwspec[32]; in getfov_() local
750 s_copy(kwspec, "INS#_FOV_CLASS_SPEC", (ftnlen)32, (ftnlen)19); in getfov_()
860 repmi_(kwspec, "#", instid, kword, (ftnlen)32, (ftnlen)1, (ftnlen)32); in getfov_()
/dports/net/py-pyroute2.ndb/pyroute2.ndb-0.6.5/pr2modules/ndb/
H A Dmain.py401 def create(self, *argspec, **kwspec): argument
410 .new_spec(kwspec or argspec[0], self.default_target)
420 def add(self, *argspec, **kwspec): argument
430 return self.create(*argspec, **kwspec)