Skip to content
Sections
>> Trisquel >> Balíky >> ecne (12.0LTS) >> python >> python3-public
[  aramo  ] [  ecne  ] [  xolotl  ]
[ Zdroj: python-public  ]

Balík: python3-public (4.0-2)

@public decorator for adding names to __all__

His module is a library that provides two simple decorators called @public and @private to document the publicity of names in your Python module. These decorators are used to control what will be imported when someone uses the from <module> import * statement. It's usually good practice to use a special attribute called __all__ to explicitly list the public names you want exposed in your module.

Ostatné balíky súvisiace s balíkom python3-public

  • závisí
  • odporúča
  • navrhuje
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • sug: python-public-doc
    @public decorator for adding names to _all_(common documentation)

Stiahnuť python3-public

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 6.8 kB28 kB [zoznam súborov]