@@ -308,29 +308,29 @@ def _modifier(
308308 for client code to extend its own modifiers.
309309 """
310310 if jsonp is not None :
311- kw ["jsonp " ] = jsonp # WARN: must be False or a collection for jsonp-accessors!
311+ kw ["_jsonp " ] = jsonp # WARN: must be False or a collection for jsonp-accessors!
312312 # Prevent sfx-jsonp.
313313 elif "/" in name and jsonp is None and (sideffected is None or sfx_list ):
314314 from .jsonpointer import jsonp_path
315315
316- kw ["jsonp " ] = jsonp_path (name )
316+ kw ["_jsonp " ] = jsonp_path (name )
317317 # Don't override user's accessor.
318318 #
319- if not accessor and kw .get ("jsonp " ):
319+ if not accessor and kw .get ("_jsonp " ):
320320 accessor = JsonpAccessor ()
321321
322322 args = (name , keyword , optional , accessor , sideffected , sfx_list )
323323 formats = _match_modifier_args (* args )
324324 if not formats :
325- if kw .get ("jsonp " ) is not None :
325+ if kw .get ("_jsonp " ) is not None :
326326 # Just jsonp given.
327327 assert not accessor and (optional , accessor , sideffected , sfx_list ) == (
328328 None ,
329329 None ,
330330 None ,
331331 (),
332332 ), locals ()
333- return _Modifier (name , name , f "jsonp" , * args [1 :], jsonp = jsonp )
333+ return _Modifier (name , name , "jsonp" , * args [1 :], jsonp = jsonp )
334334
335335 # Make a plain string instead.
336336 return str (name )
@@ -370,7 +370,7 @@ def modifier_withset(
370370 k : v
371371 for k , v in vars (dep ).items ()
372372 # Regenerate cached, truthy-only, jsnop-parts.
373- if k != "jsonp " or not v
373+ if k != "_jsonp " or not v
374374 },
375375 ** {k : v for k , v in locals ().items () if v is not ...},
376376 ** kw ,
@@ -1049,7 +1049,7 @@ def is_varargish(dep) -> bool:
10491049
10501050def get_jsonp (dep ) -> Union [List [str ], None ]:
10511051 """Check if the dependency is :term:`json pointer path` and return steps."""
1052- return getattr (dep , "jsonp " , None )
1052+ return getattr (dep , "_jsonp " , None )
10531053
10541054
10551055def is_sfx (dep ) -> Optional [str ]:
0 commit comments