Skip to content

Commit

Permalink
(once more) Retain use of single-quoted triple-quoted string as an ex…
Browse files Browse the repository at this point in the history
…ception (to avoid adjusting the standard use of double-quotes in triple-quoted docstrings)
  • Loading branch information
jayaddison committed Apr 13, 2023
1 parent a462975 commit cd65a45
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions alembic/runtime/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

class EnvironmentContext(util.ModuleClsProxy):

'''A configurational facade made available in an ``env.py`` script.
"""A configurational facade made available in an ``env.py`` script.
The :class:`.EnvironmentContext` acts as a *facade* to the more
nuts-and-bolts objects of :class:`.MigrationContext` as well as certain
Expand Down Expand Up @@ -67,10 +67,10 @@ class EnvironmentContext(util.ModuleClsProxy):
def my_function(rev, context):
"""do something with revision "rev", which
'''do something with revision "rev", which
will be the current database revision,
and "context", which is the MigrationContext
that the env.py will create"""
that the env.py will create'''
with EnvironmentContext(
Expand Down Expand Up @@ -100,7 +100,7 @@ def my_function(rev, context):
is *only* needed when you need to actually invoke the
``env.py`` module present in the migration environment.
'''
"""

_migration_context: Optional[MigrationContext] = None

Expand Down

0 comments on commit cd65a45

Please sign in to comment.