-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mainly to support python 3.12.
- Loading branch information
Showing
7 changed files
with
364 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env python | ||
#!/usr/bin/env python3 | ||
import sys | ||
from cogapp import Cog | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
""" Cog code generation tool. | ||
""" Cog content generation tool. | ||
http://nedbatchelder.com/code/cog | ||
Copyright 2004-2012, Ned Batchelder. | ||
Copyright 2004-2024, Ned Batchelder. | ||
""" | ||
|
||
from __future__ import absolute_import | ||
|
||
from .cogapp import * | ||
from .cogapp import Cog, CogUsageError, main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
"""Make Cog runnable directly from the module.""" | ||
|
||
import sys | ||
|
||
from cogapp import Cog | ||
|
||
sys.exit(Cog().main(sys.argv)) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.