Table of Contents
Shortcuts

# 5. :mod:`test_py_module`

Table of Contents

- :mod:`test_py_module`

  - Generated Index

  - Optional parameter args

  - Data

## 5.1. Generated Index

Part of the sphinx build process in generate and index file: Index.

## 5.2. Optional parameter args

At this point optional parameters cannot be generated from code. However, some projects will manually do it, like so:

This example comes from django-payments module docs.

payments.dotpay.DotpayProvider(seller_id, pin[, channel=0[, lock=False], lang='pl'])

  This backend implements payments using a popular Polish gateway, Dotpay.pl.

  Due to API limitations there is no support for transferring purchased items.

  Param seller_id

    Seller ID assigned by Dotpay

  Param pin

    PIN assigned by Dotpay

  Param channel

    Default payment channel (consult reference guide)

  Param lang

    UI language

  Param lock

    Whether to disable channels other than the default selected above

## 5.3. Data

Some data link :data:`Data_item_1`.

## Docs

Access comprehensive developer documentation for PyTorch

View Docs

## Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

## Resources

Find development resources and get your questions answered

View Resources

To analyze traffic and optimize your experience, we serve cookies on this site. By clicking or navigating, you agree to allow our usage of cookies. As the current maintainers of this site, Facebook’s Cookies Policy applies. Learn more, including about available controls: Cookies Policy.