Skip to content

Commit

Permalink
adding spaces back docs/conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nayaknishant committed Aug 31, 2023
1 parent 2e67e69 commit 35422c6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,6 @@


def adopt_members_reexported_from_private_modules(public_module: str):

"""Remaps the module items that come from internal modules.
A public module might be exporting items that are imported from private modules.
This function changes the `__module__` of such items to the public module.
Expand All @@ -396,7 +395,6 @@ def adopt_members_reexported_from_private_modules(public_module: str):
from package._private import _PrivateClass as PublicClass
__all__ = ["PublicClass"]
```
Calling this function on the `package.public` module will change:
```
package._private._PrivateClass.__name__ = "PublicClass"
Expand Down

0 comments on commit 35422c6

Please sign in to comment.