Skip to content

Commit

Permalink
Fix __package__ PEP 366 specification
Browse files Browse the repository at this point in the history
  • Loading branch information
segevfiner authored and kislyuk committed Aug 2, 2024
1 parent 27aade6 commit 368bc32
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion argcomplete/scripts/activate_global_python_argcomplete.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import argcomplete

# PEP 366
__package__ = "argcomplete"
__package__ = "argcomplete.scripts"

zsh_shellcode = """
# Begin added by argcomplete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import sys

# PEP 366
__package__ = "argcomplete"
__package__ = "argcomplete.scripts"

def main():
if len(sys.argv) != 2:
Expand Down
2 changes: 1 addition & 1 deletion argcomplete/scripts/register_python_argcomplete.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import argcomplete

# PEP 366
__package__ = "argcomplete"
__package__ = "argcomplete.scripts"

def main():
parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
Expand Down

0 comments on commit 368bc32

Please sign in to comment.